| 1 | exclude: | |
| 2 | (?xi)(^conda.recipe/meta.yaml|.*\.(csv|s[0-9]+p|mdf|cti|ts|svg)) |
| 3 | repos: |
| 4 | - repo: https://github.com/pre-commit/pre-commit-hooks |
| 5 | rev: v4.5.0 |
| 6 | hooks: |
| 7 | - id: trailing-whitespace |
| 8 | - id: end-of-file-fixer |
| 9 | - id: check-added-large-files |
| 10 | - id: check-yaml |
| 11 | |
| 12 | - repo: https://github.com/charliermarsh/ruff-pre-commit |
| 13 | # Ruff version. |
| 14 | rev: 'v0.2.2' |
| 15 | hooks: |
| 16 | - id: ruff |
| 17 | args: [ --fix, --exit-non-zero-on-fix ] |