Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
68 lines
1.6 KiB
YAML
68 lines
1.6 KiB
YAML
repos:
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
rev: v3.15.0
|
|
hooks:
|
|
- id: pyupgrade
|
|
args: [--py38-plus]
|
|
|
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
|
rev: 23.12.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==23.3.0]
|
|
|
|
- repo: https://github.com/PyCQA/isort
|
|
rev: 5.13.2
|
|
hooks:
|
|
- id: isort
|
|
|
|
- repo: https://github.com/PyCQA/flake8
|
|
rev: 6.1.0
|
|
hooks:
|
|
- id: flake8
|
|
additional_dependencies: [flake8-2020, flake8-implicit-str-concat]
|
|
|
|
- repo: https://github.com/pre-commit/pygrep-hooks
|
|
rev: v1.10.0
|
|
hooks:
|
|
- id: python-check-blanket-noqa
|
|
- id: python-no-log-warn
|
|
|
|
- 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: end-of-file-fixer
|
|
- id: requirements-txt-fixer
|
|
- id: trailing-whitespace
|
|
exclude: .github/(ISSUE_TEMPLATE|PULL_REQUEST_TEMPLATE).md
|
|
|
|
- repo: https://github.com/tox-dev/pyproject-fmt
|
|
rev: 1.5.3
|
|
hooks:
|
|
- id: pyproject-fmt
|
|
additional_dependencies: [tox]
|
|
|
|
- repo: https://github.com/abravalheri/validate-pyproject
|
|
rev: v0.15
|
|
hooks:
|
|
- id: validate-pyproject
|
|
|
|
- repo: https://github.com/tox-dev/tox-ini-fmt
|
|
rev: 1.3.1
|
|
hooks:
|
|
- id: tox-ini-fmt
|
|
|
|
ci:
|
|
autoupdate_schedule: quarterly
|