diff --git a/backend/app/models/base.py b/backend/app/models/base.py index b0d1400..6a51cf8 100644 --- a/backend/app/models/base.py +++ b/backend/app/models/base.py @@ -4,7 +4,6 @@ from datetime import UTC, datetime from sqlalchemy import Column, DateTime from sqlalchemy.dialects.postgresql import UUID - # noinspection PyUnresolvedReferences from app.core.database import Base diff --git a/backend/pyproject.toml b/backend/pyproject.toml index 29104ba..aff1f32 100644 --- a/backend/pyproject.toml +++ b/backend/pyproject.toml @@ -84,6 +84,7 @@ unfixable = [] "app/alembic/versions/*.py" = ["E402"] # Migration files have specific structure "tests/**/*.py" = ["S101", "N806", "B017", "N817", "S110", "ASYNC251", "RUF043"] # pytest: asserts, CamelCase fixtures, blind exceptions, try-pass patterns, and async test helpers are intentional "app/models/__init__.py" = ["F401"] # __init__ files re-export modules +"app/models/base.py" = ["F401"] # Re-exports Base for use by other models "app/utils/test_utils.py" = ["N806"] # SQLAlchemy session factories use CamelCase convention "app/main.py" = ["N806"] # Constants use UPPER_CASE convention