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
|
2021-12-27 22:06:06 +00:00
|
|
|
rev: v4.1.0
|
2021-07-23 23:52:25 +02:00
|
|
|
hooks:
|
|
|
|
|
- id: trailing-whitespace
|
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
|
- id: check-yaml
|
|
|
|
|
- id: check-added-large-files
|
|
|
|
|
|
|
|
|
|
- repo: https://github.com/psf/black
|
2022-01-31 23:14:08 +00:00
|
|
|
rev: "22.1.0"
|
2021-07-23 23:52:25 +02:00
|
|
|
hooks:
|
|
|
|
|
- id: black
|
|
|
|
|
|
|
|
|
|
- repo: https://github.com/PyCQA/isort
|
2021-11-15 21:15:04 +00:00
|
|
|
rev: "5.10.1"
|
2021-07-23 23:52:25 +02:00
|
|
|
hooks:
|
|
|
|
|
- id: isort
|
|
|
|
|
|
|
|
|
|
- repo: https://github.com/PyCQA/flake8
|
2021-10-11 20:14:06 +00:00
|
|
|
rev: "4.0.1"
|
2021-07-23 23:52:25 +02:00
|
|
|
hooks:
|
|
|
|
|
- id: flake8
|
|
|
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
2022-01-10 22:12:30 +00:00
|
|
|
rev: "v0.931"
|
2021-07-23 23:52:25 +02:00
|
|
|
hooks:
|
|
|
|
|
- id: mypy
|
2021-09-28 00:18:15 +02:00
|
|
|
additional_dependencies: [types-requests]
|
2021-07-23 23:52:25 +02:00
|
|
|
|
|
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2022-01-03 21:56:30 +00:00
|
|
|
rev: "v2.31.0"
|
2021-07-23 23:52:25 +02:00
|
|
|
hooks:
|
|
|
|
|
- id: pyupgrade
|