Skip to content

Commit 35f4a8d

Browse files
Bump ruff and update pre-commit legacy alias
1 parent b543298 commit 35f4a8d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ repos:
1414
- id: debug-statements
1515

1616
- repo: https://github.com/astral-sh/ruff-pre-commit
17-
rev: v0.11.12
17+
rev: v0.13.3
1818
hooks:
19-
- id: ruff
19+
- id: ruff-check
2020
args: ["--fix", "--show-fixes"]
2121
- id: ruff-format
2222

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,13 +202,13 @@ ignore = [
202202
"PT001",
203203
"PT011",
204204
"PT012",
205+
"PT031",
205206
"RET505",
206207
"RET506",
207208
"SIM108",
208209
"TRY003",
209210
"TRY301",
210211
"UP007",
211-
"UP038", # https://github.com/astral-sh/ruff/issues/7871
212212
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
213213
"W191",
214214
"E111",
@@ -266,4 +266,4 @@ features = ["test"]
266266

267267
[tool.hatch.envs.test.scripts]
268268
list-deps = "pip list"
269-
test-zarr = "pytest numcodecs/tests/test_zarr3.py numcodecs/tests/test_zarr3_import.py"
269+
test-zarr = "pytest numcodecs/tests/test_zarr3.py numcodecs/tests/test_zarr3_import.py"

0 commit comments

Comments
 (0)