Skip to content

Commit 3153fb4

Browse files
noahgiftclaude
andcommitted
chore: Add .pmat-gates.toml for quality enforcement (Refs DEPYLER-QA)
Adds PMAT quality gates configuration for: - 80% minimum coverage - Max complexity 10 - TDG score >= 85 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 3c08769 commit 3153fb4

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.pmat-gates.toml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# PMAT Quality Gates Configuration
2+
# Enforces EXTREME TDD quality standards
3+
4+
[quality]
5+
min_coverage = 80.0
6+
max_complexity = 10
7+
max_cognitive_complexity = 10
8+
min_tdg_score = 85
9+
10+
[gates]
11+
# Block commits if quality drops below thresholds
12+
block_on_coverage_drop = true
13+
block_on_complexity_violation = true
14+
block_on_satd = true
15+
16+
[ci]
17+
# CI/CD integration settings
18+
fail_fast = true
19+
parallel_jobs = 4
20+
21+
[thresholds]
22+
# Per-file thresholds
23+
max_file_lines = 1000
24+
max_function_lines = 50
25+
max_parameters = 5
26+
27+
[enforcement]
28+
# Enforcement level: "warn", "error", "block"
29+
level = "error"

0 commit comments

Comments
 (0)