Skip to content

Commit 2c80b9f

Browse files
Update ruff in pre-commit (#1435)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent 13fc061 commit 2c80b9f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ default_install_hook_types:
2929
repos:
3030
- repo: https://github.com/astral-sh/ruff-pre-commit
3131
# Ruff version.
32-
rev: v0.12.4
32+
rev: v0.12.5
3333
hooks:
3434
# Run the linter.
35-
- id: ruff
36-
args: [--fix]
35+
- id: ruff-check
36+
args: [--fix, --exit-non-zero-on-fix]
3737
stages: [pre-push]
3838
# Run the formatter.
3939
- id: ruff-format

0 commit comments

Comments
 (0)