- Standardize quote style (single to double quotes) - Reorder and group imports alphabetically - Fix line breaks and indentation for consistency - Apply PEP 8 formatting standards Also updated Makefile to exclude both venv and .venv from code quality checks. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
40 lines
1014 B
Python
40 lines
1014 B
Python
# models/database/__init__.py
|
|
"""Database models package."""
|
|
from .admin import (AdminAuditLog, AdminNotification, AdminSession,
|
|
AdminSetting, PlatformAlert)
|
|
from .base import Base
|
|
from .customer import Customer, CustomerAddress
|
|
from .inventory import Inventory
|
|
from .marketplace_import_job import MarketplaceImportJob
|
|
from .marketplace_product import MarketplaceProduct
|
|
from .order import Order, OrderItem
|
|
from .product import Product
|
|
from .user import User
|
|
from .vendor import Role, Vendor, VendorUser
|
|
from .vendor_domain import VendorDomain
|
|
from .vendor_theme import VendorTheme
|
|
|
|
__all__ = [
|
|
# Admin-specific models
|
|
"AdminAuditLog",
|
|
"AdminNotification",
|
|
"AdminSetting",
|
|
"PlatformAlert",
|
|
"AdminSession",
|
|
"Base",
|
|
"User",
|
|
"Inventory",
|
|
"Customer",
|
|
"CustomerAddress",
|
|
"Order",
|
|
"OrderItem",
|
|
"Vendor",
|
|
"VendorUser",
|
|
"Role",
|
|
"Product",
|
|
"MarketplaceImportJob",
|
|
"MarketplaceProduct",
|
|
"VendorDomain",
|
|
"VendorTheme",
|
|
]
|