diff --git a/requirements/lint.txt b/requirements/lint.txt index c4fed54c08..a18ac0b258 100644 --- a/requirements/lint.txt +++ b/requirements/lint.txt @@ -6,7 +6,7 @@ # Lint tools # (We are not so interested in the specific versions of the tools: the versions # are pinned to prevent unexpected linting failures when tools update) -ruff==0.14.14 +ruff==0.15.0 mypy==1.19.1 zizmor==1.22.0 diff --git a/tests/utils.py b/tests/utils.py index f4310d0aec..cc35af0447 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -115,7 +115,7 @@ def wait_for_server( pass except OSError as e: # ECONNREFUSED is expected while the server is not started - if e.errno not in [errno.ECONNREFUSED]: + if e.errno != errno.ECONNREFUSED: logger.warning( "Unexpected error while waiting for server: %s", str(e) )