12 lines
652 B
JSON
12 lines
652 B
JSON
{
|
|
"_comment": "Policy of scripts/check-limits.py (STRA-367, lawbook chapter 301). The limits apply to new and changed code (diff gate) and to the whole tree as a falling census. See spec node architecture/limits-gate.md.",
|
|
"limits": {"fn_lines": 30, "complexity": 10, "nesting": 4, "width": 120, "params": 5},
|
|
"tab_width": 4,
|
|
"exclude": ["engine/strata/", "target/", ".git/"],
|
|
"python_include": [
|
|
"scripts/limits/", "scripts/archcheck/", "scripts/check-limits.py", "scripts/check_limits_test.py",
|
|
"scripts/check-architecture.py", "scripts/check_architecture_test.py"
|
|
],
|
|
"base_candidates": ["claude/hexagonal-integ", "main", "origin/main"]
|
|
}
|