We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58b989c commit d6e611fCopy full SHA for d6e611f
1 file changed
.pre-commit-config.yaml
@@ -7,15 +7,29 @@ repos:
7
- id: prettier
8
types_or: [yaml, json5]
9
10
- - repo: https://github.com/astral-sh/ruff-pre-commit
11
- rev: v0.8.1
+ - repo: local
12
hooks:
13
- id: ruff-format
+ name: Ruff Format
14
+ entry: uv run ruff
15
+ args: [format]
16
+ language: system
17
+ types: [python]
18
+ pass_filenames: false
19
- id: ruff
- args: [--fix, --exit-non-zero-on-fix]
-
- - repo: local
- hooks:
20
+ name: Ruff
21
22
+ args: ["check", "--fix", "--exit-non-zero-on-fix"]
23
24
25
26
+ - id: pyright
27
+ name: pyright
28
+ entry: uv run pyright
29
+ args: [src]
30
31
32
33
- id: uv-lock-check
34
name: Check uv.lock is up to date
35
entry: uv lock --check
0 commit comments