# Pre-commit hooks — run automatically before every `git commit` # Install: pip install pre-commit && pre-commit install repos: - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.6.0 hooks: - id: ruff args: [--fix] - id: ruff-format