Skip to content

Commit c593fcf

Browse files
committed
chore: update pre commit hooks
1 parent 3774c93 commit c593fcf

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.7.0
3+
rev: v0.11.11
44
hooks:
5-
- id: ruff
6-
args: [--fix, --exit-zero]
5+
- id: ruff-check
6+
args: [--fix, --exit-zero, --exit-non-zero-on-fix]
77
- id: ruff-format
8+
args: [--exit-non-zero-on-format]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ With the exception of the points above, we believe this template to be decently
8686
# To automatically lint and format on every commit install the pre-commit hooks:
8787
pre-commit install
8888
89-
# When using pre-commit hooks, git commands will fail if any files are checked with errors.
89+
# When using pre-commit hooks, git commands may fail if any files are checked with errors.
9090
# Changed files must be added to the staged area and commited again to apply fixes.
9191
```
9292

0 commit comments

Comments
 (0)