| 1 | --- |
| 2 | repos: |
| 3 | - repo: https://github.com/pre-commit/pre-commit-hooks |
| 4 | rev: v5.0.0 |
| 5 | hooks: |
| 6 | - id: trailing-whitespace |
| 7 | - id: mixed-line-ending |
| 8 | args: ['--fix', 'lf'] |
| 9 | - id: check-byte-order-marker |
| 10 | - id: check-executables-have-shebangs |
| 11 | - id: check-merge-conflict |
| 12 | - id: debug-statements |
| 13 | - id: check-yaml |
| 14 | files: .*\.(yaml|yml)$ |
| 15 | - repo: https://github.com/astral-sh/ruff-pre-commit |
| 16 | rev: v0.11.4 |
| 17 | hooks: |
| 18 | - id: ruff |
| 19 | args: ['--fix'] |
| 20 | - id: ruff-format |