-
-
Notifications
You must be signed in to change notification settings - Fork 369
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
39 lines (33 loc) · 907 Bytes
/
Copy path.pre-commit-config.yaml
File metadata and controls
39 lines (33 loc) · 907 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
repos:
- repo: local
hooks:
- id: pyproject-fmt
name: pyproject-fmt
entry: uv run pyproject-fmt pyproject.toml
language: system
pass_filenames: false
- id: uv-lock
name: uv lock
entry: uv lock
language: system
pass_filenames: false
- id: ruff-check
name: ruff-check
entry: uv run ruff check --fix --exit-non-zero-on-fix
language: system
pass_filenames: false
- id: ruff-format
name: ruff-format
entry: uv run ruff format --exit-non-zero-on-fix
language: system
pass_filenames: false
- id: pyright
name: pyright
entry: uv run pyright
language: system
pass_filenames: false
- id: pytest
name: pytest
entry: uv run pytest --offline
language: system
pass_filenames: false