-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpolicy.py
More file actions
32 lines (27 loc) · 832 Bytes
/
Copy pathpolicy.py
File metadata and controls
32 lines (27 loc) · 832 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
"""Policy constants for language plugin validation."""
from __future__ import annotations
REQUIRED_FILES: tuple[str, ...] = (
"commands.py",
"extractors.py",
"phases.py",
"move.py",
"review.py",
"test_coverage.py",
)
REQUIRED_DIRS: tuple[str, ...] = ("detectors", "fixers", "tests")
ALLOWED_SCAN_PROFILES: frozenset[str] = frozenset({"objective", "full", "ci"})
# Default holistic review dimensions for full-plugin languages.
HOLISTIC_REVIEW_DIMENSIONS: list[str] = [
"cross_module_architecture",
"convention_outlier",
"error_consistency",
"abstraction_fitness",
"api_surface_coherence",
"authorization_consistency",
"ai_generated_debt",
"incomplete_migration",
"package_organization",
"high_level_elegance",
"mid_level_elegance",
"low_level_elegance",
]