repos: - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.5.0 # Use a specific version hooks: - id: ruff-format - id: ruff args: [--fix, --select, I001, --exit-non-zero-on-fix] - id: ruff args: [--fix, --exit-non-zero-on-fix]