Skip to content

Commit d203ad3

Browse files
authored
magic numbers (#1229)
1 parent e5a743b commit d203ad3

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

codecov/settings_base.py

+3
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,9 @@
177177
"'sha256-cNIcuS0BVLuBVP5rpfeFE42xHz7r5hMyf9YdfknWuCg='",
178178
"'sha256-bmwAzHxhO1mBINfkKkKPopyKEv4ppCHx/z84wQJ9nOY='",
179179
"'sha256-jQoC6QpIonlMBPFbUGlJFRJFFWbbijMl7Z8XqWrb46o='",
180+
"'sha256-8bfsSkoReSu+APs9CT6QDx2VMgtiw9/lrZLMZNUmhc0='",
181+
"'sha256-WoezM4J4TynepdEmsbDslXjZN6zQbvY3M0cX0ujGGUo='",
182+
"'sha256-biLFinpqYMtWHmXfkA1BPeCY0/fNt46SAZ+BBk5YUog='",
180183
"https://cdn.jsdelivr.net/npm/graphql-playground-react/build/static/js/middleware.js",
181184
"https://cdn.jsdelivr.net/npm/graphql-playground-react/build/favicon.png",
182185
"https://cdn.jsdelivr.net/npm/graphql-playground-react/build/static/css/index.css",

services/activation.py

+2-8
Original file line numberDiff line numberDiff line change
@@ -78,21 +78,15 @@ def try_auto_activate(org: Owner, owner: Owner) -> bool:
7878
if activator.is_autoactivation_enabled():
7979
log.info(
8080
"Attemping to auto-activate user",
81-
extra=dict(
82-
owner_id=owner.ownerid,
83-
org_id=org.ownerid
84-
),
81+
extra=dict(owner_id=owner.ownerid, org_id=org.ownerid),
8582
)
8683
if activator.can_activate_user():
8784
activator.activate_user()
8885
return True
8986
else:
9087
log.info(
9188
"Auto-activation failed -- not enough seats remaining",
92-
extra=dict(
93-
owner_id=owner.ownerid,
94-
org_id=org.ownerid
95-
),
89+
extra=dict(owner_id=owner.ownerid, org_id=org.ownerid),
9690
)
9791
return False
9892

0 commit comments

Comments
 (0)