Skip to content

chore: Ruff linting and formatting cleanup

Mukthanand Reddy M requested to merge chore/lint-format into develop

What changed

  • 47 files — removed unused typing imports (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) — set line-length = 200
  • 1 test infra file (conftest.py) — added missing imports + pytest_plugins so authenticated_client fixture works
  • 3 test files — fixed duplicate function names
  • All 84 files — import sorting via ruff format

Tests: 1656 passed, 254 skipped — zero regressions.

Merge request reports

Loading