.pre-commit-config.yaml
raw| 1 | exclude: 'docs/|ext/' |
| 2 | |
| 3 | repos: |
| 4 | - repo: https://github.com/pre-commit/pre-commit-hooks |
| 5 | rev: v6.0.0 |
| 6 | hooks: |
| 7 | - id: check-case-conflict |
| 8 | - id: check-merge-conflict |
| 9 | - id: check-toml |
| 10 | - id: check-yaml |
| 11 | - id: end-of-file-fixer |
| 12 | - id: mixed-line-ending |
| 13 | args: [--fix=auto] |
| 14 | - id: trailing-whitespace |
| 15 | - repo: https://github.com/astral-sh/ruff-pre-commit |
| 16 | rev: v0.15.12 |
| 17 | hooks: |
| 18 | - id: ruff-check |
| 19 | args: [--fix] |
| 20 | - id: ruff-format |
| 21 | exclude: tests/test_lowlevel.py |