Newer
Older
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
exclude: "^worker-{{cookiecutter.slug}}/"
# Run the formatter.
- id: ruff-format
exclude: "^worker-{{cookiecutter.slug}}/"
rev: v4.5.0
hooks:
- id: check-ast
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-symlinks
- id: debug-statements
- id: trailing-whitespace
- id: check-yaml
args: [--allow-multiple-documents]
exclude: "^worker-{{cookiecutter.slug}}/.arkindex.yml$|^mkdocs.yml$"
- id: mixed-line-ending
- id: name-tests-test
args: ['--django']
- id: check-json
- id: check-toml
exclude: "^worker-{{cookiecutter.slug}}/pyproject.toml$"
- id: requirements-txt-fixer
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.39.0
args: ['--fix', '--disable', 'MD013', 'MD046', '--']

Eva Bardou
committed
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.10.0.1
hooks:
- id: shellcheck
exclude: "^worker-{{cookiecutter.slug}}/ci/build.sh$"