Skip to content

Commit 27776b8

Browse files
authored
Simplify pre-commit CI (#26)
1 parent 24b5df3 commit 27776b8

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
repos:
22
- repo: local
33
hooks:
4-
- id: uv-format
5-
name: Format with uv format
4+
- id: ruff
5+
name: Ruff (format + lint)
66
entry: uv
7-
args: [run, ruff, format]
8-
language: system
9-
types: [python]
10-
pass_filenames: false
11-
always_run: true
12-
- id: uv-check
13-
name: Lint with ruff
14-
entry: uv
15-
args: [run, ruff, check, --fix]
7+
args: [run, ruff, check, --fix, --exit-non-zero-on-fix]
168
language: system
179
types: [python]
1810
pass_filenames: false

0 commit comments

Comments
 (0)