fix: move IMPORT-002 suppression to from-line for validator detection
Some checks failed
CI / ruff (push) Successful in 10s
CI / validate (push) Has been cancelled
CI / dependency-scanning (push) Has been cancelled
CI / docs (push) Has been cancelled
CI / deploy (push) Has been cancelled
CI / pytest (push) Has been cancelled

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-11 23:44:16 +01:00
parent 34bf961309
commit 395707951e

View File

@@ -230,8 +230,8 @@ class InventoryTransactionService:
OrderNotFoundException: If order not found or doesn't belong to store OrderNotFoundException: If order not found or doesn't belong to store
""" """
# Verify order belongs to store # Verify order belongs to store
from app.modules.orders.services.order_service import ( from app.modules.orders.services.order_service import ( # IMPORT-002
order_service, # IMPORT-002 order_service,
) )
order = order_service.get_order_by_id(db, order_id, store_id=store_id) order = order_service.get_order_by_id(db, order_id, store_id=store_id)