2020-02-23 20:33:39 +01:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2024-04-01 19:55:50 +02:00
|
|
|
rev: v3.15.2
|
2020-02-23 20:33:39 +01:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
2023-06-03 13:22:03 +02:00
|
|
|
args: [--py38-plus]
|
2020-02-23 20:33:39 +01:00
|
|
|
|
2024-04-01 19:58:55 +02:00
|
|
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
2024-04-01 19:55:50 +02:00
|
|
|
rev: 24.3.0
|
2020-02-23 20:33:39 +01:00
|
|
|
hooks:
|
|
|
|
- id: black
|
2023-06-03 13:22:03 +02:00
|
|
|
args: [--target-version=py38]
|
2020-09-08 20:12:50 +02:00
|
|
|
|
|
|
|
- repo: https://github.com/PyCQA/isort
|
2024-01-01 18:44:15 +01:00
|
|
|
rev: 5.13.2
|
2020-09-08 20:12:50 +02:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
2020-02-23 20:33:39 +01:00
|
|
|
|
2021-04-12 18:41:46 +02:00
|
|
|
- repo: https://github.com/PyCQA/flake8
|
2024-04-01 19:55:50 +02:00
|
|
|
rev: 7.0.0
|
2020-02-23 20:33:39 +01:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|
|
|
|
additional_dependencies: [flake8-2020, flake8-implicit-str-concat]
|
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/pygrep-hooks
|
2023-04-03 23:30:11 +02:00
|
|
|
rev: v1.10.0
|
2020-02-23 20:33:39 +01:00
|
|
|
hooks:
|
|
|
|
- id: python-check-blanket-noqa
|
|
|
|
- id: rst-backticks
|
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2024-01-01 18:44:15 +01:00
|
|
|
rev: v4.5.0
|
2020-02-23 20:33:39 +01:00
|
|
|
hooks:
|
2020-05-12 08:38:10 +02:00
|
|
|
- id: check-json
|
2021-03-05 13:57:31 +01:00
|
|
|
- id: check-merge-conflict
|
2020-02-23 20:33:39 +01:00
|
|
|
- id: check-toml
|
|
|
|
- id: check-yaml
|
2020-05-12 08:36:47 +02:00
|
|
|
- id: end-of-file-fixer
|
2020-05-12 08:21:45 +02:00
|
|
|
- id: trailing-whitespace
|
|
|
|
exclude: "^.github/.*_TEMPLATE.md"
|
2021-05-11 17:53:59 +02:00
|
|
|
|
2023-06-03 13:22:03 +02:00
|
|
|
- repo: https://github.com/asottile/setup-cfg-fmt
|
2024-01-01 18:44:15 +01:00
|
|
|
rev: v2.5.0
|
2023-06-03 13:22:03 +02:00
|
|
|
hooks:
|
|
|
|
- id: setup-cfg-fmt
|
2024-05-12 08:04:19 +02:00
|
|
|
args: [--include-version-classifiers, --max-py-version=3.13]
|
2021-05-11 17:53:59 +02:00
|
|
|
ci:
|
2021-09-04 17:05:49 +02:00
|
|
|
autoupdate_schedule: quarterly
|