-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
48 lines (48 loc) · 1.26 KB
/
.pre-commit-config.yaml
File metadata and controls
48 lines (48 loc) · 1.26 KB
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
40
41
42
43
44
45
46
47
48
repos:
- repo: local
hooks:
- id: ruff-format
name: ruff-format
entry: uv run ruff format
language: system
types: [python]
exclude: "^deezer_python_gql/generated/"
- id: ruff-check
name: ruff-check
entry: uv run ruff check --fix
language: system
types: [python]
exclude: "^deezer_python_gql/generated/"
- id: codespell
name: codespell
entry: uv run codespell
language: system
types: [text]
- id: check-ast
name: check-ast
entry: uv run check-ast
language: system
types: [python]
- id: check-json
name: check-json
entry: uv run check-json
language: system
types: [json]
exclude: "^schema\\.json$"
- id: check-toml
name: check-toml
entry: uv run check-toml
language: system
types: [toml]
- id: mypy
name: mypy
entry: uv run mypy
language: system
types: [python]
exclude: "^deezer_python_gql/generated/"
- id: check-codegen-sync
name: check-codegen-sync
entry: scripts/check_codegen_sync.sh
language: script
always_run: true
pass_filenames: false