fix(lint): restore noqa directives and register custom codes with ruff
Some checks failed
CI / ruff (push) Failing after 7s
CI / pytest (push) Failing after 1s
CI / architecture (push) Failing after 8s
CI / dependency-scanning (push) Successful in 26s
CI / audit (push) Successful in 9s
CI / docs (push) Has been skipped

Reverts the noqa: removal — the architecture validators (SVC-006,
SEC-034, MOD-004, API-007) use these to skip known-safe violations.
Added ruff lint.external config so ruff treats them as valid codes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-12 23:21:27 +01:00
parent 1b24269ef1
commit 3a264c0a39
27 changed files with 41 additions and 37 deletions

View File

@@ -502,6 +502,6 @@ class AuthManager:
db.refresh(admin_user)
# Log creation for audit trail (credentials redacted for security)
logger.info("Default admin user created") # sec-001 sec-021
logger.info("Default admin user created") # noqa: sec-001 sec-021
return admin_user