Skip to content

Commit 8333399

Browse files
committed
fix: update ruff hook arguments and add uv-lock hook for dependency checks
1 parent 84a5488 commit 8333399

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,15 @@ repos:
1919
- repo: https://github.com/astral-sh/ruff-pre-commit
2020
rev: v0.12.11
2121
hooks:
22-
- id: ruff
23-
args: [--fix]
2422
- id: ruff-format
23+
- id: ruff
24+
args: [--fix, --exit-non-zero-on-fix]
2525
- repo: https://github.com/abravalheri/validate-pyproject
2626
rev: v0.24.1
2727
hooks:
2828
- id: validate-pyproject
29+
- repo: https://github.com/astral-sh/uv-pre-commit
30+
rev: 0.8.13
31+
hooks:
32+
- id: uv-lock
33+
description: Check that uv.lock is up to date

0 commit comments

Comments
 (0)