diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c313630e..1a5e10c6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -68,7 +68,7 @@ repos: # Ruff is a code style and formatter # It works on files in-place - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.14 + rev: v0.15.0 hooks: - id: ruff-check name: ruff diff --git a/tests/strategies/parse/test_image.py b/tests/strategies/parse/test_image.py index ff5e0ad7..0d892c52 100644 --- a/tests/strategies/parse/test_image.py +++ b/tests/strategies/parse/test_image.py @@ -85,7 +85,7 @@ def test_image( "gswin64.exe -h", "gswin64c.exe -h", ], - }.get(platform.system(), None) + }.get(platform.system()) if not command: raise RuntimeError(