Skip to main content
Run formatting and validation before pushing changes to ensure code quality.

Format

Format the codebase using ruff:

Validate

Lint and type-check using ruff and mypy:
Configuration is in pyproject.toml. Run both scripts before every commit.

Pre-commit Workflow

Common Issues