pipdeptree/.pre-commit-config.yaml

35 lines
926 B
YAML
Raw Normal View History

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
2023-07-15 14:43:08 +00:00
rev: 23.7.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: "0.13.0"
hooks:
- id: pyproject-fmt
additional_dependencies: ["tox>=4.6.4"]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.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
2023-07-15 14:43:08 +00:00
rev: "v0.0.278"
2023-07-11 00:58:44 +00:00
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
2023-06-14 20:02:41 +00:00
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes