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-10-11 01:59:28 +00:00
|
|
|
rev: "22.10.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-09 00:16:42 +00:00
|
|
|
rev: "5.0.4"
|
2021-07-23 23:52:25 +02:00
|
|
|
hooks:
|
|
|
|
|
- id: flake8
|
|
|
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
2022-11-15 01:29:45 +00:00
|
|
|
rev: "v0.990"
|
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-11-15 01:29:45 +00:00
|
|
|
rev: "v3.2.2"
|
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
|
2022-09-12 23:26:45 +00:00
|
|
|
rev: 0.4.0
|
2022-07-05 09:32:22 +02:00
|
|
|
hooks:
|
|
|
|
|
- id: sync_with_poetry
|