Fix linting errors across backend and frontend
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:
@@ -14,7 +14,6 @@ from app.schemas.encounter import (
|
||||
EncounterResponse,
|
||||
EncounterUpdate,
|
||||
)
|
||||
from app.schemas.genlocke import GenlockeCreate, GenlockeResponse, GenlockeLegResponse
|
||||
from app.schemas.game import (
|
||||
GameCreate,
|
||||
GameDetailResponse,
|
||||
@@ -25,6 +24,7 @@ from app.schemas.game import (
|
||||
RouteResponse,
|
||||
RouteUpdate,
|
||||
)
|
||||
from app.schemas.genlocke import GenlockeCreate, GenlockeLegResponse, GenlockeResponse
|
||||
from app.schemas.pokemon import (
|
||||
BulkImportItem,
|
||||
BulkImportResult,
|
||||
@@ -37,7 +37,13 @@ from app.schemas.pokemon import (
|
||||
RouteEncounterResponse,
|
||||
RouteEncounterUpdate,
|
||||
)
|
||||
from app.schemas.run import RunCreate, RunDetailResponse, RunGenlockeContext, RunResponse, RunUpdate
|
||||
from app.schemas.run import (
|
||||
RunCreate,
|
||||
RunDetailResponse,
|
||||
RunGenlockeContext,
|
||||
RunResponse,
|
||||
RunUpdate,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
"BossBattleCreate",
|
||||
|
||||
Reference in New Issue
Block a user