Skip to content

Commit 3505a95

Browse files
chore: update pre-commit hook
updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.7 → v0.6.3](astral-sh/ruff-pre-commit@v0.5.7...v0.6.3)
1 parent 77f188c commit 3505a95

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ default_language_version:
77
python: python3
88
repos:
99
- repo: https://github.com/astral-sh/ruff-pre-commit
10-
rev: 'v0.5.7'
10+
rev: v0.6.3
1111
hooks:
1212
- id: ruff
1313
args: ["--fix", "--show-fixes"]
14+
exclude: ^notebooks/
1415
- id: ruff-format
16+
exclude: ^notebooks/
1517
- repo: https://github.com/codespell-project/codespell
1618
rev: v2.3.0
1719
hooks:

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ extend-exclude = [
197197
"buck-out",
198198
"build",
199199
"dist",
200+
"notebooks", # temporary, until we achieve compatibility with ruff ≥ 0.6
200201
"venv",
201202
"docs",
202203
"src/zarr/v2/",

0 commit comments

Comments
 (0)