-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.codesieve.yml
More file actions
44 lines (39 loc) · 796 Bytes
/
.codesieve.yml
File metadata and controls
44 lines (39 loc) · 796 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
40
41
42
43
44
# CodeSieve Configuration
sieves:
- KISS
- Nesting
- Naming
- ErrorHandling
- TypeHints
- MagicNumbers
- GuardClauses
- DeprecatedAPI
# - DRY # Phase 2
# - SRP # Phase 3 (requires LLM)
# - Complexity # Phase 3 (requires LLM)
# - Comments # Phase 2
weights:
KISS: 0.20
Nesting: 0.15
Naming: 0.15
ErrorHandling: 0.10
TypeHints: 0.08
MagicNumbers: 0.05
GuardClauses: 0.05
DeprecatedAPI: 0.05
DRY: 0.15
SRP: 0.15
Complexity: 0.10
Comments: 0.10
# Minimum aggregate score (0 = disabled)
fail_under: 0
# Set true to skip LLM-dependent sieves
deterministic: false
# Output format: terminal, json
format: terminal
# File patterns to exclude
exclude:
- "**/node_modules/**"
- "**/.venv/**"
- "**/venv/**"
- "**/__pycache__/**"