Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 19, 2024
1 parent 112b9f0 commit 2ff81cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nailgun/entity_mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def raise_task_timeout(): # pragma: no cover
except KeyboardInterrupt:
# raise_task_timeout will raise a KeyboardInterrupt when the timeout
# expires. Catch the exception and raise TaskTimedOutError
raise TaskTimedOutError( # noqa: TRY200 - Not raising from KeyBoardInterrupt
raise TaskTimedOutError( # noqa: B904 - Not raising from KeyBoardInterrupt
f"Timed out polling task {task_id}. Task information: {task_info}", task_id
)
finally:
Expand Down

0 comments on commit 2ff81cb

Please sign in to comment.