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:
cd ./backend uv run ruff format --config ./pyproject.tomlVia script (run from project root), this will also run lint, type annotation check and tests:
./scripts/linting.bash --backend
Converted and distributed by TomeVault — claim your Tome and manage your conversions.