| 1 | repos: |
| 2 | - repo: https://github.com/astral-sh/ruff-pre-commit |
| 3 | # Ruff version. |
| 4 | rev: v0.11.2 |
| 5 | hooks: |
| 6 | - id: ruff |
| 7 | name: ruff linter |
| 8 | args: [--fix] |
| 9 | - id: ruff-format |
| 10 | name: ruff formatter |
| 11 | - id: ruff |
| 12 | name: ruff sorter |
| 13 | args: [--select, I, --fix] |
| 14 | - repo: https://github.com/pre-commit/pre-commit-hooks |
| 15 | rev: v5.0.0 |
| 16 | hooks: |
| 17 | - id: check-yaml |
| 18 |