fix(lint): convert custom noqa directives to regular comments
Some checks failed
CI / ruff (push) Failing after 7s
CI / pytest (push) Failing after 0s
CI / architecture (push) Failing after 8s
CI / dependency-scanning (push) Successful in 27s
CI / audit (push) Successful in 8s
CI / docs (push) Has been skipped

Ruff only accepts standard rule codes (e.g., E712, F401) in noqa
directives. Custom architecture validator codes (SEC-034, SVC-006,
MOD-004, API-007) are now regular comments instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-12 23:19:34 +01:00
parent 9c4f6064b2
commit 1b24269ef1
26 changed files with 37 additions and 37 deletions

View File

@@ -28,7 +28,7 @@ from app.api.deps import (
get_db,
)
from app.modules.core.services.menu_service import MenuItemConfig, menu_service
from app.modules.enums import FrontendType # noqa: API-007 - Enum for type safety
from app.modules.enums import FrontendType # API-007 - Enum for type safety
from app.modules.tenancy.services.platform_service import platform_service
from app.utils.i18n import DEFAULT_LANGUAGE, translate
from models.schema.auth import UserContext