-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
44 lines (39 loc) · 1.1 KB
/
.pre-commit-config.yaml
File metadata and controls
44 lines (39 loc) · 1.1 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
repos:
- repo: local
hooks:
- id: ruff-check
name: ruff check
entry: uv run ruff check --fix
language: system
types: [python]
pass_filenames: true
- id: ruff-format
name: ruff format
entry: uv run ruff format
language: system
types: [python]
pass_filenames: true
- id: ty
name: ty check
entry: uvx ty check apps packages
language: system
types: [python]
pass_filenames: false
- id: pytest
name: pytest
entry: .venv/bin/python -m pytest -v
language: system
types: [python]
pass_filenames: false
- id: vulture
name: vulture (dead code)
entry: uvx vulture apps packages vulture_whitelist.py --min-confidence 80 --exclude "node_modules,*.json"
language: system
types: [python]
pass_filenames: false
- id: bandit
name: bandit (security)
entry: uvx bandit -r apps packages -c pyproject.toml
language: system
types: [python]
pass_filenames: false