.pre-commit-config.yaml
raw| 1 | repos: |
| 2 | - repo: https://github.com/pre-commit/pre-commit-hooks |
| 3 | rev: v4.6.0 |
| 4 | hooks: |
| 5 | - id: end-of-file-fixer |
| 6 | - id: trailing-whitespace |
| 7 | - repo: https://github.com/astral-sh/ruff-pre-commit |
| 8 | rev: v0.6.2 |
| 9 | hooks: |
| 10 | - id: ruff |
| 11 | types: |
| 12 | - python |
| 13 | args: ["--fix", "--show-fixes"] |
| 14 | - id: ruff-format |
| 15 | types: |
| 16 | - python |