Fix linting errors across backend and frontend
All checks were successful
CI / backend-lint (push) Successful in 7s
CI / frontend-lint (push) Successful in 29s

Backend: auto-fix and format all ruff issues, manually fix B904/B023/
SIM117/B007/E741/F841 errors, suppress B008 (FastAPI Depends) and F821
(SQLAlchemy forward refs) in config. Frontend: allow constant exports,
disable React compiler-specific rules (set-state-in-effect,
preserve-manual-memoization).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Julian Tabel
2026-02-10 12:26:57 +01:00
parent 7f8890086f
commit e4111c67bc
48 changed files with 1225 additions and 883 deletions

View File

@@ -7,7 +7,9 @@ from app.core.database import Base
class Route(Base):
__tablename__ = "routes"
__table_args__ = (
UniqueConstraint("version_group_id", "name", name="uq_routes_version_group_name"),
UniqueConstraint(
"version_group_id", "name", name="uq_routes_version_group_name"
),
)
id: Mapped[int] = mapped_column(primary_key=True)