fix(lint): use plain comments for architecture validator codes
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:
@@ -754,7 +754,7 @@ class InventoryService:
|
||||
self, db: Session
|
||||
) -> AdminStoresWithInventoryResponse:
|
||||
"""Get list of stores that have inventory entries (admin only)."""
|
||||
# noqa: SVC-005 - Admin function, intentionally cross-store
|
||||
# SVC-005 - Admin function, intentionally cross-store
|
||||
# Use subquery to avoid DISTINCT on JSON columns (PostgreSQL can't compare JSON)
|
||||
store_ids_subquery = (
|
||||
db.query(Inventory.store_id)
|
||||
|
||||
Reference in New Issue
Block a user