This repository uses Ruff for consistent code formatting and linting across all paper implementations.
Check code style:
ruff check .Format code:
ruff format .Install pre-commit hooks (recommended):
pip install pre-commit
pre-commit install- Code style rules are defined in
pyproject.toml - GitHub Actions automatically check all PRs and pushes
- Pre-commit hooks run ruff automatically before commits