From 9d5825aa60f511f2b105497a8aedac5985fe91ec Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 3 Oct 2024 20:16:05 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- nailgun/entity_mixins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nailgun/entity_mixins.py b/nailgun/entity_mixins.py index e00cae9c..f7b3119d 100644 --- a/nailgun/entity_mixins.py +++ b/nailgun/entity_mixins.py @@ -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: