-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcode_analysis_rules.json
More file actions
39 lines (39 loc) · 964 Bytes
/
code_analysis_rules.json
File metadata and controls
39 lines (39 loc) · 964 Bytes
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
{
"log_level": "all",
"max_lines_per_file": {
"enabled": true,
"warning": 300,
"error": 500,
"exclude_patterns": ["venv/**", "__pycache__/**", ".git/**", "_old_venv/**", ".venv/**"],
"exceptions": [
{
"file": "src/scheduler.py",
"warning": 500,
"error": 700,
"reason": "Core TaskScheduler class - single cohesive class with tightly coupled scheduling, hot-reload, and task management methods"
}
]
},
"pmd_duplicates": {
"enabled": true,
"minimum_tokens": 100,
"exclude_patterns": {
"python": [
"__pycache__/**",
"*.pyc",
"venv/**",
".venv/**",
"*venv/**",
"env/**",
".git/**",
"_old_venv/**"
]
}
},
"ruff_analyze": {
"enabled": true,
"select": ["E", "F", "W"],
"ignore": ["E501"],
"exclude_patterns": ["venv/**", "__pycache__/**", ".git/**", "_old_venv/**", ".venv/**"]
}
}