Skip to content

Commit

Permalink
Fix style issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Dec 18, 2024
1 parent ae355ea commit 21f76b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/fmripost_phase/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def main():

if sentry_sdk is not None and failed_reports:
sentry_sdk.capture_message(
'Report generation failed for %d subjects' % failed_reports,
f'Report generation failed for {failed_reports} subjects',
level='error',
)
sys.exit(int((errno + len(failed_reports)) > 0))
Expand Down
2 changes: 1 addition & 1 deletion src/fmripost_phase/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
# Just get so analytics track one hit
from contextlib import suppress

from requests import ConnectionError, ReadTimeout
from requests import ConnectionError, ReadTimeout # noqa: A004
from requests import get as _get_url

with suppress((ConnectionError, ReadTimeout)):
Expand Down

0 comments on commit 21f76b9

Please sign in to comment.