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:
@@ -6,38 +6,38 @@ Provides loyalty program management, card operations, stamp/points
|
||||
handling, and wallet integration.
|
||||
"""
|
||||
|
||||
from app.modules.loyalty.services.program_service import (
|
||||
ProgramService,
|
||||
program_service,
|
||||
from app.modules.loyalty.services.apple_wallet_service import (
|
||||
AppleWalletService,
|
||||
apple_wallet_service,
|
||||
)
|
||||
from app.modules.loyalty.services.card_service import (
|
||||
CardService,
|
||||
card_service,
|
||||
)
|
||||
from app.modules.loyalty.services.stamp_service import (
|
||||
StampService,
|
||||
stamp_service,
|
||||
)
|
||||
from app.modules.loyalty.services.points_service import (
|
||||
PointsService,
|
||||
points_service,
|
||||
from app.modules.loyalty.services.google_wallet_service import (
|
||||
GoogleWalletService,
|
||||
google_wallet_service,
|
||||
)
|
||||
from app.modules.loyalty.services.pin_service import (
|
||||
PinService,
|
||||
pin_service,
|
||||
)
|
||||
from app.modules.loyalty.services.points_service import (
|
||||
PointsService,
|
||||
points_service,
|
||||
)
|
||||
from app.modules.loyalty.services.program_service import (
|
||||
ProgramService,
|
||||
program_service,
|
||||
)
|
||||
from app.modules.loyalty.services.stamp_service import (
|
||||
StampService,
|
||||
stamp_service,
|
||||
)
|
||||
from app.modules.loyalty.services.wallet_service import (
|
||||
WalletService,
|
||||
wallet_service,
|
||||
)
|
||||
from app.modules.loyalty.services.google_wallet_service import (
|
||||
GoogleWalletService,
|
||||
google_wallet_service,
|
||||
)
|
||||
from app.modules.loyalty.services.apple_wallet_service import (
|
||||
AppleWalletService,
|
||||
apple_wallet_service,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
"ProgramService",
|
||||
|
||||
Reference in New Issue
Block a user