
- Fix unused imports in API endpoints - Add proper __all__ exports in model and schema modules - Add proper TYPE_CHECKING imports in models to prevent circular imports - Fix import order in migrations - Fix long lines in migration scripts - All ruff checks passing
8 lines
384 B
Python
8 lines
384 B
Python
# Import all the models, so that Base has them before being
|
|
# imported by Alembic
|
|
from app.db.base_class import Base # noqa
|
|
from app.models.user import User # noqa
|
|
from app.models.category import Category # noqa
|
|
from app.models.supplier import Supplier # noqa
|
|
from app.models.product import Product # noqa
|
|
from app.models.inventory_transaction import InventoryTransaction # noqa |