64 lines
1.4 KiB
YAML
64 lines
1.4 KiB
YAML
repos:
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
rev: v3.3.1
|
|
hooks:
|
|
- id: pyupgrade
|
|
args: [--py37-plus]
|
|
|
|
- repo: https://github.com/psf/black
|
|
rev: 23.3.0
|
|
hooks:
|
|
- id: black
|
|
args: [--target-version=py37]
|
|
|
|
- repo: https://github.com/asottile/blacken-docs
|
|
rev: 1.13.0
|
|
hooks:
|
|
- id: blacken-docs
|
|
args: [--target-version=py37]
|
|
additional_dependencies: [black==23.3.0]
|
|
|
|
- repo: https://github.com/PyCQA/isort
|
|
rev: 5.12.0
|
|
hooks:
|
|
- id: isort
|
|
|
|
- repo: https://github.com/PyCQA/flake8
|
|
rev: 6.0.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
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.4.0
|
|
hooks:
|
|
- id: check-json
|
|
- id: check-merge-conflict
|
|
- id: check-toml
|
|
- id: check-yaml
|
|
- id: end-of-file-fixer
|
|
- id: requirements-txt-fixer
|
|
|
|
- repo: https://github.com/tox-dev/pyproject-fmt
|
|
rev: 0.9.2
|
|
hooks:
|
|
- id: pyproject-fmt
|
|
|
|
- repo: https://github.com/abravalheri/validate-pyproject
|
|
rev: v0.12.2
|
|
hooks:
|
|
- id: validate-pyproject
|
|
|
|
- repo: https://github.com/tox-dev/tox-ini-fmt
|
|
rev: 1.3.0
|
|
hooks:
|
|
- id: tox-ini-fmt
|
|
|
|
ci:
|
|
autoupdate_schedule: quarterly
|