| 1 | repos: |
| 2 | - repo: https://github.com/pre-commit/pre-commit-hooks |
| 3 | rev: v2.3.0 |
| 4 | hooks: |
| 5 | - id: check-yaml |
| 6 | - id: end-of-file-fixer |
| 7 | - id: trailing-whitespace |
| 8 | - repo: https://github.com/ambv/black |
| 9 | rev: 25.9.0 |
| 10 | hooks: |
| 11 | - id: black |
| 12 | language_version: python3 |
| 13 | - repo: https://github.com/pycqa/flake8 |
| 14 | rev: 7.0.0 |
| 15 | hooks: |
| 16 | - id: flake8 |
| 17 | - repo: https://github.com/astral-sh/ruff-pre-commit |
| 18 | # Ruff version. |
| 19 | rev: v0.0.272 |
| 20 | hooks: |
| 21 | - id: ruff |
| 22 | args: [ --fix, --exit-non-zero-on-fix] |