fix(lint): use plain comments for architecture validator codes
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 26s
CI / audit (push) Successful in 8s
CI / docs (push) Has been skipped

Replace # noqa: SVC-006 with # SVC-006 to avoid ruff warnings about
unknown codes. Updated architecture validators to match the new format
by checking for the code string directly instead of the noqa: prefix.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-12 23:24:57 +01:00
parent 3a264c0a39
commit 79c985ee39
28 changed files with 43 additions and 46 deletions

View File

@@ -25,7 +25,7 @@ from app.core.database import get_db
from app.core.environment import should_use_secure_cookies
from app.exceptions import ValidationException
from app.modules.core.services.auth_service import (
AuthService, # noqa: MOD-004 - Core auth service
AuthService, # MOD-004 - Core auth service
)
from app.modules.customers.models import PasswordResetToken
from app.modules.customers.schemas import (
@@ -44,7 +44,7 @@ from app.modules.customers.services import (
customer_service,
)
from app.modules.messaging.services.email_service import (
EmailService, # noqa: MOD-004 - Core email service
EmailService, # MOD-004 - Core email service
)
from app.modules.tenancy.exceptions import StoreNotFoundException
from models.schema.auth import (