| 1 |
repos: |
| 2 |
- repo: https://github.com/astral-sh/ruff-pre-commit |
| 3 |
rev: v0.15.9 |
| 4 |
hooks: |
| 5 |
- id: ruff |
| 6 |
- repo: https://github.com/pre-commit/pre-commit-hooks |
| 7 |
rev: v6.0.0 |
| 8 |
hooks: |
| 9 |
- id: trailing-whitespace |
| 10 |
- id: end-of-file-fixer |
| 11 |
- id: check-docstring-first |
| 12 |
- id: check-yaml |
| 13 |
- id: check-toml |
| 14 |
- id: check-merge-conflict |
| 15 |
- id: check-case-conflict |
| 16 |
- id: forbid-submodules |
| 17 |
- id: mixed-line-ending |
| 18 |
args: [--fix=lf] |
| 19 |
- repo: https://github.com/sphinx-contrib/sphinx-lint |
| 20 |
rev: v1.0.2 |
| 21 |
hooks: |
| 22 |
- id: sphinx-lint |
| 23 |
- repo: https://github.com/python-jsonschema/check-jsonschema |
| 24 |
rev: 0.37.1 |
| 25 |
hooks: |
| 26 |
- id: check-dependabot |
| 27 |
- id: check-github-workflows |
| 28 |
- id: check-readthedocs |
| 29 |
- repo: https://github.com/abravalheri/validate-pyproject |
| 30 |
rev: v0.25 |
| 31 |
hooks: |
| 32 |
- id: validate-pyproject |
| 33 |
additional_dependencies: ["validate-pyproject-schema-store[all]"] |
| 34 |
- repo: https://github.com/rhysd/actionlint |
| 35 |
rev: v1.7.12 |
| 36 |
hooks: |
| 37 |
- id: actionlint |
| 38 |
additional_dependencies: |
| 39 |
# actionlint has a shellcheck integration which extracts shell scripts in `run:` steps from GitHub Actions |
| 40 |
# and checks these with shellcheck. This is arguably its most useful feature, |
| 41 |
# but the integration only works if shellcheck is installed |
| 42 |
- "github.com/wasilibs/go-shellcheck/cmd/[email protected]" |
| 43 |
- repo: https://github.com/woodruffw/zizmor-pre-commit |
| 44 |
rev: v1.23.1 |
| 45 |
hooks: |
| 46 |
- id: zizmor |
| 47 |
- repo: meta |
| 48 |
hooks: |
| 49 |
- id: check-hooks-apply |
| 50 |
|
| 51 |
ci: |
| 52 |
autoupdate_schedule: quarterly |