repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. rev: v0.0.278 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] exclude: "^worker-{{cookiecutter.slug}}/" - repo: https://github.com/psf/black-pre-commit-mirror rev: 23.11.0 hooks: - id: black - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.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: requirements-txt-fixer - repo: https://github.com/codespell-project/codespell rev: v2.2.2 hooks: - id: codespell args: ['--write-changes'] - repo: https://github.com/PyCQA/doc8 rev: v1.1.1 hooks: - id: doc8 - repo: meta hooks: - id: check-useless-excludes