chore: Ruff linting and formatting cleanup
What changed
-
47 files — removed unused
typingimports (Dict,List,Optional, etc.) - 11 test files — removed unused variables, preserved all function calls for side effects
-
1 app file (
categories.py) — changed== True→ bare boolean,== False→~(SQLAlchemy-safe) -
1 config file (
pyproject.toml) — setline-length = 200 -
1 test infra file (
conftest.py) — added missing imports +pytest_pluginssoauthenticated_clientfixture works - 3 test files — fixed duplicate function names
-
All 84 files — import sorting via
ruff format
Tests: 1656 passed, 254 skipped — zero regressions.