32 lines
860 B
YAML
32 lines
860 B
YAML
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.3.0
|
|
hooks:
|
|
- id: codespell
|
|
args: ["--write-changes"]
|
|
- repo: https://github.com/tox-dev/tox-ini-fmt
|
|
rev: "1.3.1"
|
|
hooks:
|
|
- id: tox-ini-fmt
|
|
args: ["-p", "fix"]
|
|
- repo: https://github.com/tox-dev/pyproject-fmt
|
|
rev: "2.1.3"
|
|
hooks:
|
|
- id: pyproject-fmt
|
|
additional_dependencies: ["tox>=4.12.1"]
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: "v0.4.5"
|
|
hooks:
|
|
- id: ruff-format
|
|
- id: ruff
|
|
args: ["--fix", "--unsafe-fixes", "--exit-non-zero-on-fix"]
|
|
- repo: meta
|
|
hooks:
|
|
- id: check-hooks-apply
|
|
- id: check-useless-excludes
|