2021-07-23 23:52:25 +02:00
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
|
repos:
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
|
rev: v4.0.1
|
|
|
|
|
hooks:
|
|
|
|
|
- id: trailing-whitespace
|
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
|
- id: check-yaml
|
|
|
|
|
- id: check-added-large-files
|
|
|
|
|
|
|
|
|
|
- repo: https://github.com/psf/black
|
2021-09-27 20:07:59 +00:00
|
|
|
rev: "21.9b0"
|
2021-07-23 23:52:25 +02:00
|
|
|
hooks:
|
|
|
|
|
- id: black
|
|
|
|
|
|
|
|
|
|
- repo: https://github.com/PyCQA/isort
|
2021-09-27 20:07:59 +00:00
|
|
|
rev: "5.9.3"
|
2021-07-23 23:52:25 +02:00
|
|
|
hooks:
|
|
|
|
|
- id: isort
|
|
|
|
|
|
|
|
|
|
- repo: https://github.com/PyCQA/flake8
|
|
|
|
|
rev: "3.9.2"
|
|
|
|
|
hooks:
|
|
|
|
|
- id: flake8
|
|
|
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
2021-09-27 20:07:59 +00:00
|
|
|
rev: "v0.910"
|
2021-09-28 00:15:41 +02:00
|
|
|
additional_dependencies: [types-requests]
|
2021-07-23 23:52:25 +02:00
|
|
|
hooks:
|
|
|
|
|
- id: mypy
|
|
|
|
|
|
|
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2021-09-27 20:07:59 +00:00
|
|
|
rev: "v2.28.0"
|
2021-07-23 23:52:25 +02:00
|
|
|
hooks:
|
|
|
|
|
- id: pyupgrade
|