Python Formatting
We use ruff to format all Python files. We also use ./backend/pyproject.toml to configure Ruff. There are two ways to run formatting
- •
Manually:
bashcd ./backend uv run ruff format --config ./pyproject.toml
- •
Via script (run from project root), this will also run lint, type annotation check and tests:
bash./scripts/linting.bash --backend