Skip to content

Commit f0e420b

Browse files
[pre-commit.ci] pre-commit autoupdate (#1538)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.15.8 → v0.15.9](astral-sh/ruff-pre-commit@v0.15.8...v0.15.9) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 20734d9 commit f0e420b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ci:
44

55
repos:
66
- repo: https://github.com/astral-sh/ruff-pre-commit
7-
rev: v0.15.8
7+
rev: v0.15.9
88
hooks:
99
- id: ruff-check
1010
args: [--fix, --exit-non-zero-on-fix]

bench/test_benchmarks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class AtomicFields:
152152
b: Ellipsis = ...
153153
c: str = "foo"
154154
d: tuple[str] = "bar"
155-
e: complex = complex()
155+
e: complex = 0j
156156

157157

158158
def test_asdict_atomic():

0 commit comments

Comments
 (0)