refactor(scripts): reorganize scripts/ into seed/ and validate/ subfolders
Move 9 init/seed scripts into scripts/seed/ and 7 validation scripts (+ validators/ subfolder) into scripts/validate/ to reduce clutter in the root scripts/ directory. Update all references across Makefile, CI/CD configs, pre-commit hooks, docs (~40 files), and Python imports. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
36
scripts/validate/validators/__init__.py
Normal file
36
scripts/validate/validators/__init__.py
Normal file
@@ -0,0 +1,36 @@
|
||||
# scripts/validators/__init__.py
|
||||
"""
|
||||
Architecture Validators Package
|
||||
===============================
|
||||
|
||||
This package contains domain-specific validators for the architecture validation system.
|
||||
Each validator module handles a specific category of rules.
|
||||
|
||||
Modules:
|
||||
- base: Base classes and helpers (Severity, Violation, ValidationResult)
|
||||
- api_validator: API endpoint rules (API-*)
|
||||
- service_validator: Service layer rules (SVC-*)
|
||||
- model_validator: Model rules (MDL-*)
|
||||
- exception_validator: Exception handling rules (EXC-*)
|
||||
- naming_validator: Naming convention rules (NAM-*)
|
||||
- auth_validator: Auth and multi-tenancy rules (AUTH-*, MT-*)
|
||||
- middleware_validator: Middleware rules (MDW-*)
|
||||
- frontend_validator: Frontend rules (JS-*, TPL-*, FE-*, CSS-*)
|
||||
- language_validator: Language/i18n rules (LANG-*)
|
||||
"""
|
||||
|
||||
from .base import (
|
||||
BaseValidator,
|
||||
FileResult,
|
||||
Severity,
|
||||
ValidationResult,
|
||||
Violation,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
"Severity",
|
||||
"Violation",
|
||||
"FileResult",
|
||||
"ValidationResult",
|
||||
"BaseValidator",
|
||||
]
|
||||
Reference in New Issue
Block a user