Skip to content

Commit

Permalink
Fix remaining style issues (#1337)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo authored Nov 25, 2024
1 parent 427c5bc commit 69597b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion xcp_d/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,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
2 changes: 1 addition & 1 deletion xcp_d/utils/sentry.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def process_crashfile(crashfile):
scope.set_extra(k, strv[0])
else:
for i, chunk in enumerate(strv):
scope.set_extra('%s_%02d' % (k, i), chunk) # noqa:FS001
scope.set_extra(f'{k}_{i:02d}', chunk) # noqa:FS001

fingerprint = ''
issue_title = f'{node_name}: {gist}'
Expand Down

0 comments on commit 69597b2

Please sign in to comment.