Spaces:
Paused
Paused
| # Pre-commit hooks — see https://pre-commit.com/ | |
| # Install: pip install pre-commit && pre-commit install | |
| repos: | |
| - repo: https://github.com/pre-commit/pre-commit-hooks | |
| rev: v5.0.0 | |
| hooks: | |
| - id: trailing-whitespace | |
| - id: end-of-file-fixer | |
| - id: check-yaml | |
| - id: check-json | |
| - id: check-toml | |
| - id: check-merge-conflict | |
| - id: check-added-large-files | |
| args: [--maxkb=2048] | |
| - repo: https://github.com/astral-sh/ruff-pre-commit | |
| rev: v0.6.9 | |
| hooks: | |
| - id: ruff | |
| args: [--fix] | |
| - id: ruff-format | |