-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathregix.yaml
More file actions
57 lines (50 loc) · 1.52 KB
/
regix.yaml
File metadata and controls
57 lines (50 loc) · 1.52 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
regix:
workdir: .
# ── Quality gates ──────────────────────────────────────────
gates:
# Hard — violations block the pipeline (exit code 1)
hard:
cc: 15
mi: 20
coverage: 80
length: 100
docstring: 60
quality: 0.85
# Target — aspirational goals, reported as warnings
target:
cc: 10
mi: 30
coverage: 90
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/**"
- "demo_langs/**"
- "test_langs/**"
- "test_python_only/**"
- "benchmarks/**"
- "setup.py"
# ── Output ─────────────────────────────────────────────────
output:
format: rich
dir: .regix/
show_improvements: true