2021-07-20 13:07:49 +00:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2024-10-14 17:24:48 +00:00
|
|
|
rev: v3.18.0
|
2021-07-20 13:07:49 +00:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
2024-09-25 19:34:56 +00:00
|
|
|
args: ["--py38-plus"]
|
2021-07-20 13:07:49 +00:00
|
|
|
|
2022-12-27 18:15:28 +00:00
|
|
|
- repo: https://github.com/PyCQA/autoflake
|
2024-03-18 17:24:51 +00:00
|
|
|
rev: v2.3.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-08-05 18:24:19 +00:00
|
|
|
rev: 7.1.1
|
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
|
2024-09-25 19:34:56 +00:00
|
|
|
|
|
|
|
- repo: https://github.com/codespell-project/codespell
|
|
|
|
rev: v2.3.0
|
|
|
|
hooks:
|
|
|
|
- id: codespell # See pyproject.toml for args
|
|
|
|
args: [--toml, pyproject.toml, --write-changes]
|
|
|
|
additional_dependencies:
|
|
|
|
- tomli
|
2021-07-20 13:07:49 +00:00
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2024-10-07 17:52:39 +00:00
|
|
|
rev: v5.0.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
|
2024-09-25 19:34:56 +00:00
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
2024-10-21 17:29:49 +00:00
|
|
|
rev: v1.12.1
|
2024-09-25 19:34:56 +00:00
|
|
|
hooks:
|
|
|
|
- id: mypy
|
|
|
|
pass_filenames: false
|