75 lines
1.8 KiB
YAML
75 lines
1.8 KiB
YAML
repos:
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.5.0
|
|
hooks:
|
|
- id: ruff
|
|
args: [--exit-non-zero-on-fix]
|
|
|
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
|
rev: 24.4.2
|
|
hooks:
|
|
- id: black
|
|
|
|
- repo: https://github.com/asottile/blacken-docs
|
|
rev: 1.18.0
|
|
hooks:
|
|
- id: blacken-docs
|
|
args: [--target-version=py38]
|
|
additional_dependencies: [black]
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.6.0
|
|
hooks:
|
|
- id: check-added-large-files
|
|
- 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: forbid-submodules
|
|
- id: trailing-whitespace
|
|
exclude: .github/(ISSUE_TEMPLATE|PULL_REQUEST_TEMPLATE).md
|
|
|
|
- repo: https://github.com/python-jsonschema/check-jsonschema
|
|
rev: 0.28.6
|
|
hooks:
|
|
- id: check-github-workflows
|
|
- id: check-renovate
|
|
|
|
- repo: https://github.com/rhysd/actionlint
|
|
rev: v1.7.1
|
|
hooks:
|
|
- id: actionlint
|
|
|
|
- repo: https://github.com/tox-dev/pyproject-fmt
|
|
rev: 2.1.3
|
|
hooks:
|
|
- id: pyproject-fmt
|
|
|
|
- repo: https://github.com/abravalheri/validate-pyproject
|
|
rev: v0.18
|
|
hooks:
|
|
- id: validate-pyproject
|
|
|
|
- repo: https://github.com/tox-dev/tox-ini-fmt
|
|
rev: 1.3.1
|
|
hooks:
|
|
- id: tox-ini-fmt
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
rev: v4.0.0-alpha.8
|
|
hooks:
|
|
- id: prettier
|
|
args: [--prose-wrap=always, --print-width=88]
|
|
exclude: .github/(ISSUE_TEMPLATE|PULL_REQUEST_TEMPLATE).md
|
|
|
|
- repo: meta
|
|
hooks:
|
|
- id: check-hooks-apply
|
|
- id: check-useless-excludes
|
|
|
|
ci:
|
|
autoupdate_schedule: quarterly
|