pipdeptree/.pre-commit-config.yaml

46 lines
1.2 KiB
YAML
Raw Normal View History

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
hooks:
- id: codespell
#args: ["--write-changes"] # uncomment if you want to get automatic fixing
- repo: https://github.com/PyCQA/docformatter
rev: v1.7.5
hooks:
- id: docformatter
additional_dependencies: [tomli]
args: ["--in-place"]
- repo: https://github.com/psf/black
rev: 23.11.0
hooks:
- id: black
- 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: "1.5.1"
hooks:
- id: pyproject-fmt
additional_dependencies: ["tox>=4.8"]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.1.0"
hooks:
- id: prettier
2023-06-14 20:02:41 +00:00
args: ["--print-width=120", "--prose-wrap=always"]
2023-07-11 00:58:44 +00:00
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.1.6"
2023-07-11 00:58:44 +00:00
hooks:
- id: ruff
args: ["--fix"]
2023-06-14 20:02:41 +00:00
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes