diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9ecc4d318..1c9db3a5f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ ci: repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.8 + rev: v0.15.9 hooks: - id: ruff-check args: [--fix, --exit-non-zero-on-fix] diff --git a/bench/test_benchmarks.py b/bench/test_benchmarks.py index fc462bf40..6adf21aa5 100644 --- a/bench/test_benchmarks.py +++ b/bench/test_benchmarks.py @@ -152,7 +152,7 @@ class AtomicFields: b: Ellipsis = ... c: str = "foo" d: tuple[str] = "bar" - e: complex = complex() + e: complex = 0j def test_asdict_atomic():