fix(lint): auto-fix ruff violations and tune lint rules
- Auto-fixed 4,496 lint issues (import sorting, modern syntax, etc.) - Added ignore rules for patterns intentional in this codebase: E402 (late imports), E712 (SQLAlchemy filters), B904 (raise from), SIM108/SIM105/SIM117 (readability preferences) - Added per-file ignores for tests and scripts - Excluded broken scripts/rename_terminology.py (has curly quotes) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -5,29 +5,29 @@ Orders module services.
|
||||
This module contains the canonical implementations of order-related services.
|
||||
"""
|
||||
|
||||
from app.modules.orders.services.order_service import (
|
||||
order_service,
|
||||
OrderService,
|
||||
)
|
||||
from app.modules.orders.services.order_inventory_service import (
|
||||
order_inventory_service,
|
||||
OrderInventoryService,
|
||||
)
|
||||
from app.modules.orders.services.order_item_exception_service import (
|
||||
order_item_exception_service,
|
||||
OrderItemExceptionService,
|
||||
)
|
||||
from app.modules.orders.services.invoice_service import (
|
||||
invoice_service,
|
||||
InvoiceService,
|
||||
from app.modules.orders.services.customer_order_service import (
|
||||
CustomerOrderService,
|
||||
customer_order_service,
|
||||
)
|
||||
from app.modules.orders.services.invoice_pdf_service import (
|
||||
invoice_pdf_service,
|
||||
InvoicePDFService,
|
||||
invoice_pdf_service,
|
||||
)
|
||||
from app.modules.orders.services.customer_order_service import (
|
||||
customer_order_service,
|
||||
CustomerOrderService,
|
||||
from app.modules.orders.services.invoice_service import (
|
||||
InvoiceService,
|
||||
invoice_service,
|
||||
)
|
||||
from app.modules.orders.services.order_inventory_service import (
|
||||
OrderInventoryService,
|
||||
order_inventory_service,
|
||||
)
|
||||
from app.modules.orders.services.order_item_exception_service import (
|
||||
OrderItemExceptionService,
|
||||
order_item_exception_service,
|
||||
)
|
||||
from app.modules.orders.services.order_service import (
|
||||
OrderService,
|
||||
order_service,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
|
||||
Reference in New Issue
Block a user