-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
69 lines (69 loc) · 1.9 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
69 lines (69 loc) · 1.9 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
repos:
- repo: local
hooks:
- id: ruff-format
name: ruff-format
entry: uv run ruff format
require_serial: true
language: system
types: [ python ]
- id: ruff
name: ruff
entry: uv run ruff check --force-exclude
require_serial: true
language: system
types: [python]
- id: mypy
name: mypy
entry: uv run mypy two_fast_auth
require_serial: true
language: system
types: [python]
pass_filenames: false
- id: vulture
name: vulture
entry: uv run vulture vulture_whitelist.py
require_serial: true
language: system
types: [python]
pass_filenames: false
- id: bandit
name: bandit
entry: uv run bandit -r two_fast_auth -ll
require_serial: true
language: system
types: [python]
pass_filenames: false
- id: safety
name: safety
entry: uv run safety check
require_serial: true
language: system
pass_filenames: false
- id: radon-cc
name: radon-cyclomatic-complexity
entry: uv run radon cc two_fast_auth -nc
require_serial: true
language: system
types: [python]
pass_filenames: false
- id: xenon
name: xenon
entry: uv run xenon two_fast_auth --max-absolute B --max-modules A --max-average A
require_serial: true
language: system
types: [python]
pass_filenames: false
- id: deptry
name: deptry
entry: uv run deptry .
require_serial: true
language: system
pass_filenames: false
# - id: semgrep
# name: semgrep
# entry: uv run semgrep --config=auto --error two_fast_auth
# require_serial: true
# language: system
# types: [python]
# pass_filenames: false