We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e26ad67 commit 2030fafCopy full SHA for 2030faf
.pre-commit-config.yaml
@@ -11,10 +11,18 @@ repos:
11
- --unsafe
12
- id: end-of-file-fixer
13
- id: trailing-whitespace
14
-- repo: https://github.com/astral-sh/ruff-pre-commit
15
- rev: v0.14.6
+- repo: local
16
hooks:
17
- - id: ruff
18
- args:
19
- - --fix
20
- - id: ruff-format
+ - id: local-ruff-check
+ name: ruff check
+ entry: uv run ruff check --force-exclude --fix --exit-non-zero-on-fix
+ require_serial: true
+ language: unsupported
21
+ types: [python]
22
+
23
+ - id: local-ruff-format
24
+ name: ruff format
25
+ entry: uv run ruff format --force-exclude --exit-non-zero-on-format
26
27
28
0 commit comments