.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: check-yaml |
| 6 | - id: end-of-file-fixer |
| 7 | - id: trailing-whitespace |
| 8 | - repo: https://github.com/psf/black |
| 9 | rev: 23.9.1 |
| 10 | hooks: |
| 11 | - id: black |
| 12 | - repo: https://github.com/astral-sh/ruff-pre-commit |
| 13 | rev: v0.0.292 |
| 14 | hooks: |
| 15 | - id: ruff |
| 16 | args: ["--fix", "--show-source"] |