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
|
2022-06-13 23:42:58 +00:00
|
|
|
rev: v4.3.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-07-11 22:58:48 +00:00
|
|
|
rev: "22.6.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
|
2022-08-02 00:38:08 +00:00
|
|
|
rev: "5.0.3"
|
2021-07-23 23:52:25 +02:00
|
|
|
hooks:
|
|
|
|
|
- id: flake8
|
|
|
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
2022-07-25 23:24:08 +00:00
|
|
|
rev: "v0.971"
|
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-08-02 00:38:08 +00:00
|
|
|
rev: "v2.37.3"
|
2021-07-23 23:52:25 +02:00
|
|
|
hooks:
|
|
|
|
|
- id: pyupgrade
|
2022-07-05 09:32:22 +02:00
|
|
|
|
|
|
|
|
- repo: https://github.com/floatingpurr/sync_with_poetry
|
|
|
|
|
rev: 0.2.1
|
|
|
|
|
hooks:
|
|
|
|
|
- id: sync_with_poetry
|