updates: - [github.com/asottile/pyupgrade: v3.10.1 → v3.13.0](https://github.com/asottile/pyupgrade/compare/v3.10.1...v3.13.0) - [github.com/psf/black: 23.7.0 → 23.9.1](https://github.com/psf/black/compare/23.7.0...23.9.1) - [github.com/tox-dev/pyproject-fmt: 0.13.1 → 1.2.0](https://github.com/tox-dev/pyproject-fmt/compare/0.13.1...1.2.0)
68 lines
1.6 KiB
YAML
68 lines
1.6 KiB
YAML
repos:
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
rev: v3.13.0
|
|
hooks:
|
|
- id: pyupgrade
|
|
args: [--py38-plus]
|
|
|
|
- repo: https://github.com/psf/black
|
|
rev: 23.9.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.12.0
|
|
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.4.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.2.0
|
|
hooks:
|
|
- id: pyproject-fmt
|
|
additional_dependencies: [tox]
|
|
|
|
- repo: https://github.com/abravalheri/validate-pyproject
|
|
rev: v0.14
|
|
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
|