Skip to content

Commit 8777422

Browse files
committed
Update pre-commit tools
1 parent c8f2769 commit 8777422

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.3.2
3+
rev: v0.6.9
44
hooks:
55
- id: ruff
66
args:
77
- --fix
88
- id: ruff-format
99
- repo: https://github.com/pre-commit/pre-commit-hooks
10-
rev: v4.5.0
10+
rev: v5.0.0
1111
hooks:
1212
- id: check-merge-conflict
1313
- id: check-yaml
@@ -18,6 +18,6 @@ repos:
1818
args:
1919
- --fix=lf
2020
- repo: https://github.com/crate-ci/typos
21-
rev: v1.18.2
21+
rev: v1.26.0
2222
hooks:
2323
- id: typos

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ ignore = [
3131
"F841", # Local assigned but not used (TODO: enable, these are likely bugs)
3232
"RUF012", # Mutable class attribute annotations
3333
]
34-
ignore-init-module-imports = true # allow to expose in __init__.py via imports
3534

3635
[tool.ruff.lint.extend-per-file-ignores]
3736
"**/__init__.py" = ["F401"] # allow unused imports in __init__.py

0 commit comments

Comments
 (0)