Skip to content

Commit d5b3169

Browse files
author
Denisse Mendoza
committed
Fix lint error
1 parent 7aea8ca commit d5b3169

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

reddit_decider/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1046,7 +1046,7 @@ def make_object_for_context(self, name: str, span: Span) -> Decider:
10461046
logger.info(
10471047
f"Error while accessing `user.event_fields()` in `make_object_for_context()`. details: {exc}"
10481048
)
1049-
1049+
10501050
loid_created_timestamp = None
10511051
try:
10521052
if isinstance(ec.authentication_token, ValidatedAuthenticationToken):

tests/decider_tests.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ def setUp(self):
116116
spec=ValidatedAuthenticationToken
117117
)
118118
self.mock_span.context.edge_context.authentication_token.oauth_client_id = AUTH_CLIENT_ID
119-
self.mock_span.context.edge_context.authentication_token.loid_created_ms = LOID_CREATED_TIMESTAMP
119+
self.mock_span.context.edge_context.authentication_token.loid_created_ms = (
120+
LOID_CREATED_TIMESTAMP
121+
)
120122
self.mock_span.context.edge_context.geolocation.country_code = COUNTRY_CODE
121123
self.mock_span.context.edge_context.locale.locale_code = LOCALE_CODE
122124
self.mock_span.context.edge_context.origin_service.name = ORIGIN_SERVICE

0 commit comments

Comments
 (0)