fix: move IMPORT-002 suppression to from-line for validator detection
Some checks failed
Some checks failed
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user