-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathregix.yaml
More file actions
52 lines (45 loc) · 1.47 KB
/
regix.yaml
File metadata and controls
52 lines (45 loc) · 1.47 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
regix:
workdir: .
# ── Quality gates ──────────────────────────────────────────────
gates:
# Hard — violations block the pipeline (exit code 1)
hard:
cc: 30
mi: 15
coverage: 20
length: 150
docstring: 20
quality: 0.50
# Target — aspirational goals, reported as warnings
target:
cc: 10
mi: 30
coverage: 85
length: 50
docstring: 80
quality: 0.95
on_regression: warn
fail_exit_code: 1
# ── Delta thresholds (relative change between commits) ─────────
deltas:
warn: 2
error: 5
# ── Backends ───────────────────────────────────────────────────
backends:
cc: lizard
mi: radon
coverage: pytest-cov
quality: none
docstring: builtin
# ── File filtering ─────────────────────────────────────────────
exclude:
- "tests/**"
- "docs/**"
- "examples/**"
- ".venv/**"
- "venv/**"
# ── Output ─────────────────────────────────────────────────────
output:
format: rich
dir: .regix/
show_improvements: true