| repos: | |
| - repo: https://github.com/pre-commit/pre-commit-hooks | |
| rev: v4.6.0 | |
| hooks: | |
| - id: end-of-file-fixer | |
| - id: trailing-whitespace | |
| - repo: https://github.com/codespell-project/codespell | |
| rev: v2.2.6 | |
| hooks: | |
| - id: codespell | |
| additional_dependencies: [ "tomli>=2.0.1" ] | |
| - repo: https://github.com/PyCQA/docformatter | |
| rev: v1.7.5 | |
| hooks: | |
| - id: docformatter | |
| additional_dependencies: [ "tomli>=2.0.1" ] | |
| args: [ "--in-place", "--config", "./pyproject.toml" ] | |
| - repo: https://github.com/astral-sh/ruff-pre-commit | |
| rev: "v0.4.4" | |
| hooks: | |
| - id: ruff-format | |
| - id: ruff | |
| args: [ "--fix", "--unsafe-fixes", "--exit-non-zero-on-fix" ] | |
| - repo: https://github.com/tox-dev/pyproject-fmt | |
| rev: "2.1.2" | |
| hooks: | |
| - id: pyproject-fmt | |
| additional_dependencies: ["tox>=4.14.2"] | |
| - repo: meta | |
| hooks: | |
| - id: check-hooks-apply | |
| - id: check-useless-excludes |