56 lines
1.3 KiB
YAML
56 lines
1.3 KiB
YAML
repos:
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.2.0
|
|
hooks:
|
|
- id: ruff
|
|
args: [--fix, --exit-non-zero-on-fix]
|
|
|
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
|
rev: 24.1.1
|
|
hooks:
|
|
- id: black
|
|
|
|
- repo: https://github.com/asottile/blacken-docs
|
|
rev: 1.16.0
|
|
hooks:
|
|
- id: blacken-docs
|
|
args: [--target-version=py38]
|
|
additional_dependencies: [black]
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.5.0
|
|
hooks:
|
|
- id: check-case-conflict
|
|
- id: check-merge-conflict
|
|
- id: check-json
|
|
- id: check-toml
|
|
- id: check-yaml
|
|
- id: debug-statements
|
|
- id: end-of-file-fixer
|
|
- id: trailing-whitespace
|
|
exclude: .github/(ISSUE_TEMPLATE|PULL_REQUEST_TEMPLATE).md
|
|
|
|
- repo: https://github.com/tox-dev/pyproject-fmt
|
|
rev: 1.7.0
|
|
hooks:
|
|
- id: pyproject-fmt
|
|
additional_dependencies: [tox]
|
|
|
|
- repo: https://github.com/abravalheri/validate-pyproject
|
|
rev: v0.16
|
|
hooks:
|
|
- id: validate-pyproject
|
|
|
|
- repo: https://github.com/tox-dev/tox-ini-fmt
|
|
rev: 1.3.1
|
|
hooks:
|
|
- id: tox-ini-fmt
|
|
|
|
- repo: meta
|
|
hooks:
|
|
- id: check-hooks-apply
|
|
- id: check-useless-excludes
|
|
|
|
ci:
|
|
autoupdate_schedule: quarterly
|