From 68cffdd3b940b3ebe588f578cd48d087b28970ef Mon Sep 17 00:00:00 2001 From: Melvin Klein Date: Thu, 31 Oct 2024 13:29:32 +0000 Subject: [PATCH] linting --- src/stackit/core/wait.py | 4 +--- tests/core/test_wait.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/stackit/core/wait.py b/src/stackit/core/wait.py index fdb915a..6f1f3b0 100644 --- a/src/stackit/core/wait.py +++ b/src/stackit/core/wait.py @@ -1,8 +1,6 @@ +import signal import time from http import HTTPStatus - -import signal -import contextlib from typing import Any, Callable, Tuple, Union diff --git a/tests/core/test_wait.py b/tests/core/test_wait.py index aee7af6..9a9e88d 100644 --- a/tests/core/test_wait.py +++ b/tests/core/test_wait.py @@ -43,7 +43,7 @@ def test_timeout_throws_timeouterror(self): def test_throttle_0_throws_error(self): with pytest.raises(ValueError, match="throttle can't be 0"): - wait = Wait(lambda: (True, None, None, None), throttle=0) + _ = Wait(lambda: (True, None, None, None), throttle=0) @pytest.mark.parametrize( "check_function",