.pre-commit-config.yaml
raw| 1 | repos: |
| 2 | - repo: https://github.com/pre-commit/pre-commit-hooks |
| 3 | rev: v6.0.0 |
| 4 | hooks: |
| 5 | - id: end-of-file-fixer |
| 6 | - id: trailing-whitespace |
| 7 | |
| 8 | - repo: https://github.com/astral-sh/ruff-pre-commit |
| 9 | rev: v0.15.1 |
| 10 | hooks: |
| 11 | - id: ruff-check |
| 12 | args: |
| 13 | - --fix |
| 14 | - id: ruff-format |
| 15 | args: |
| 16 | - --quiet |
| 17 | |
| 18 | - repo: https://github.com/crate-ci/typos |
| 19 | rev: v1 |
| 20 | hooks: |
| 21 | - id: typos |