2021-07-20 13:07:49 +00:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2023-10-09 17:49:43 +00:00
|
|
|
rev: v3.15.0
|
2021-07-20 13:07:49 +00:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
2023-01-02 18:42:23 +00:00
|
|
|
args: ["--py37-plus", "--keep-runtime-typing"]
|
2021-07-20 13:07:49 +00:00
|
|
|
|
2022-12-27 18:15:28 +00:00
|
|
|
- repo: https://github.com/PyCQA/autoflake
|
2023-09-04 20:59:08 +00:00
|
|
|
rev: v2.2.1
|
2022-12-27 18:15:28 +00:00
|
|
|
hooks:
|
|
|
|
- id: autoflake
|
|
|
|
args: ["--in-place", "--ignore-pass-after-docstring", "--imports"]
|
|
|
|
|
2021-07-29 09:51:19 +00:00
|
|
|
- repo: https://github.com/PyCQA/flake8
|
2024-01-08 18:05:44 +00:00
|
|
|
rev: 7.0.0
|
2021-07-20 13:07:49 +00:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|
|
|
|
|
|
|
|
- repo: https://github.com/asottile/yesqa
|
2023-06-12 17:35:24 +00:00
|
|
|
rev: v1.5.0
|
2021-07-20 13:07:49 +00:00
|
|
|
hooks:
|
|
|
|
- id: yesqa
|
2023-08-04 06:12:20 +00:00
|
|
|
exclude: ^kombu/messaging\.py$|^kombu/serialization\.py$
|
2021-07-20 13:07:49 +00:00
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2023-10-09 17:49:43 +00:00
|
|
|
rev: v4.5.0
|
2021-07-20 13:07:49 +00:00
|
|
|
hooks:
|
|
|
|
- id: check-merge-conflict
|
|
|
|
- id: check-toml
|
|
|
|
- id: check-yaml
|
|
|
|
- id: mixed-line-ending
|
|
|
|
|
|
|
|
- repo: https://github.com/pycqa/isort
|
2023-12-18 18:00:05 +00:00
|
|
|
rev: 5.13.2
|
2021-07-20 13:07:49 +00:00
|
|
|
hooks:
|
|
|
|
- id: isort
|