Legacy service and task files now re-export from module locations: app/services/: - stats_service.py -> app.modules.analytics.services - usage_service.py -> app.modules.analytics.services app/tasks/celery_tasks/: - code_quality.py -> app.modules.dev_tools.tasks - test_runner.py -> app.modules.dev_tools.tasks Maintains backwards compatibility while actual code lives in self-contained modules. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
32 lines
848 B
Python
32 lines
848 B
Python
# app/tasks/celery_tasks/code_quality.py
|
|
"""
|
|
Celery tasks for code quality scans - LEGACY LOCATION
|
|
|
|
This file exists for backward compatibility.
|
|
The canonical location is now: app/modules/dev_tools/tasks/code_quality.py
|
|
|
|
All imports should use the new location:
|
|
from app.modules.dev_tools.tasks import execute_code_quality_scan
|
|
"""
|
|
|
|
# Re-export from canonical location for backward compatibility
|
|
from app.modules.dev_tools.tasks.code_quality import (
|
|
execute_code_quality_scan,
|
|
VALIDATOR_ARCHITECTURE,
|
|
VALIDATOR_SECURITY,
|
|
VALIDATOR_PERFORMANCE,
|
|
VALID_VALIDATOR_TYPES,
|
|
VALIDATOR_SCRIPTS,
|
|
VALIDATOR_NAMES,
|
|
)
|
|
|
|
__all__ = [
|
|
"execute_code_quality_scan",
|
|
"VALIDATOR_ARCHITECTURE",
|
|
"VALIDATOR_SECURITY",
|
|
"VALIDATOR_PERFORMANCE",
|
|
"VALID_VALIDATOR_TYPES",
|
|
"VALIDATOR_SCRIPTS",
|
|
"VALIDATOR_NAMES",
|
|
]
|