2021-07-20 13:07:49 +00:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2023-06-12 17:35:24 +00:00
|
|
|
rev: v3.6.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-06-12 17:35:24 +00:00
|
|
|
rev: v2.1.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
|
2022-12-12 17:16:35 +00:00
|
|
|
rev: 6.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
|
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2022-12-12 17:16:35 +00:00
|
|
|
rev: v4.4.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-02-06 17:36:08 +00:00
|
|
|
rev: 5.12.0
|
2021-07-20 13:07:49 +00:00
|
|
|
hooks:
|
|
|
|
- id: isort
|