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:
@@ -32,7 +32,7 @@ from app.modules.orders.schemas import (
|
||||
)
|
||||
from app.modules.orders.services import order_service
|
||||
from app.modules.orders.services.invoice_service import (
|
||||
invoice_service, # noqa: MOD-004 - Core invoice service
|
||||
invoice_service, # MOD-004 - Core invoice service
|
||||
)
|
||||
from app.modules.tenancy.exceptions import StoreNotFoundException
|
||||
|
||||
|
||||
@@ -1292,7 +1292,7 @@ class OrderService:
|
||||
) -> dict[str, Any]:
|
||||
"""Get shipping label information for an order (admin only)."""
|
||||
from app.modules.core.services.admin_settings_service import (
|
||||
admin_settings_service, # noqa: MOD-004
|
||||
admin_settings_service, # MOD-004
|
||||
)
|
||||
|
||||
order = db.query(Order).filter(Order.id == order_id).first()
|
||||
|
||||
Reference in New Issue
Block a user