- 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>
27 lines
578 B
Python
27 lines
578 B
Python
# app/modules/billing/tasks/__init__.py
|
|
"""
|
|
Billing module Celery tasks.
|
|
|
|
Scheduled tasks for:
|
|
- Resetting period counters
|
|
- Checking trial expirations
|
|
- Syncing with Stripe
|
|
- Cleaning up stale subscriptions
|
|
|
|
Note: capture_capacity_snapshot moved to monitoring module.
|
|
"""
|
|
|
|
from app.modules.billing.tasks.subscription import (
|
|
check_trial_expirations,
|
|
cleanup_stale_subscriptions,
|
|
reset_period_counters,
|
|
sync_stripe_status,
|
|
)
|
|
|
|
__all__ = [
|
|
"reset_period_counters",
|
|
"check_trial_expirations",
|
|
"sync_stripe_status",
|
|
"cleanup_stale_subscriptions",
|
|
]
|