-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
77 lines (77 loc) · 1.95 KB
/
.pre-commit-config.yaml
File metadata and controls
77 lines (77 loc) · 1.95 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
repos:
- repo: https://github.com/tsvikas/sync-with-uv
rev: v0.5.0
hooks:
- id: sync-with-uv
- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.21.2
hooks:
- id: pyproject-fmt
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.12
hooks:
- id: ruff-check
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.12
hooks:
- id: ruff-format
- repo: local
hooks:
- id: ty
name: ty
always_run: true
entry: uv run --frozen --offline ty check
language: system
pass_filenames: false
- repo: local
hooks:
- id: deptry
name: deptry
always_run: true
entry: uv run --frozen --offline deptry src
language: system
pass_filenames: false
- repo: local
hooks:
- id: import-linter
name: import-linter
always_run: true
entry: uv run --frozen --offline lint-imports
language: system
pass_filenames: false
- repo: local
hooks:
- id: cargo-fmt
name: cargo-fmt
always_run: true
entry: uv run --frozen cargo fmt --check
language: system
pass_filenames: false
- repo: local
hooks:
- id: clippy
name: clippy
always_run: true
entry: uv run --frozen cargo clippy --all-targets --no-default-features -- -D warnings
language: system
pass_filenames: false
- repo: local
hooks:
- id: basedpyright
name: basedpyright
always_run: true
entry: uv run --frozen --offline basedpyright
language: system
types: [python]
pass_filenames: false
require_serial: true
- repo: https://github.com/jendrikseipp/vulture
rev: v2.16
hooks:
- id: vulture
- repo: https://github.com/codespell-project/codespell
rev: v2.4.2
hooks:
- id: codespell
additional_dependencies:
- tomli