- Auto-fixed 4,496 lint issues (import sorting, modern syntax, etc.) - Added ignore rules for patterns intentional in this codebase: E402 (late imports), E712 (SQLAlchemy filters), B904 (raise from), SIM108/SIM105/SIM117 (readability preferences) - Added per-file ignores for tests and scripts - Excluded broken scripts/rename_terminology.py (has curly quotes) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
46 lines
1.0 KiB
Python
46 lines
1.0 KiB
Python
# app/modules/dev_tools/models/__init__.py
|
|
"""
|
|
Dev-Tools module database models.
|
|
|
|
This is the canonical location for dev-tools models. Module models are automatically
|
|
discovered and registered with SQLAlchemy's Base.metadata at startup.
|
|
|
|
Usage:
|
|
from app.modules.dev_tools.models import (
|
|
ArchitectureScan,
|
|
ArchitectureViolation,
|
|
ArchitectureRule,
|
|
ViolationAssignment,
|
|
ViolationComment,
|
|
TestRun,
|
|
TestResult,
|
|
TestCollection,
|
|
)
|
|
"""
|
|
|
|
from app.modules.dev_tools.models.architecture_scan import (
|
|
ArchitectureRule,
|
|
ArchitectureScan,
|
|
ArchitectureViolation,
|
|
ViolationAssignment,
|
|
ViolationComment,
|
|
)
|
|
from app.modules.dev_tools.models.test_run import (
|
|
TestCollection,
|
|
TestResult,
|
|
TestRun,
|
|
)
|
|
|
|
__all__ = [
|
|
# Architecture scan models
|
|
"ArchitectureScan",
|
|
"ArchitectureViolation",
|
|
"ArchitectureRule",
|
|
"ViolationAssignment",
|
|
"ViolationComment",
|
|
# Test run models
|
|
"TestRun",
|
|
"TestResult",
|
|
"TestCollection",
|
|
]
|