| 1 |
repos: |
| 2 |
- repo: https://github.com/astral-sh/ruff-pre-commit |
| 3 |
rev: 5ba58aca0bd5bc7c0e1c0fc45af2e88d6a2bde83 # frozen: v0.14.10 |
| 4 |
hooks: |
| 5 |
- id: ruff-check |
| 6 |
args: |
| 7 |
- --fix |
| 8 |
- repo: https://github.com/pre-commit/pre-commit-hooks |
| 9 |
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0 |
| 10 |
hooks: |
| 11 |
- id: check-added-large-files |
| 12 |
- id: check-docstring-first |
| 13 |
exclude: (docs/conf.py) |
| 14 |
- id: check-json |
| 15 |
- id: check-yaml |
| 16 |
- id: debug-statements |
| 17 |
exclude: (tests/messages/data/) |
| 18 |
- id: end-of-file-fixer |
| 19 |
exclude: (tests/messages/data/) |
| 20 |
- id: name-tests-test |
| 21 |
args: [ '--django' ] |
| 22 |
exclude: (tests/benchmarks|tests/messages/data/|.*(consts|utils).py) |
| 23 |
- id: requirements-txt-fixer |
| 24 |
- id: trailing-whitespace |