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
|
2023-02-07 14:08:37 +01:00
|
|
|
|
|
|
|
|
ci:
|
|
|
|
|
autoupdate_schedule: quarterly
|
|
|
|
|
|
2021-07-23 23:52:25 +02:00
|
|
|
repos:
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2022-11-29 03:32:22 +00:00
|
|
|
rev: v4.4.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
|
2023-04-04 08:55:50 +00:00
|
|
|
rev: "23.3.0"
|
2021-07-23 23:52:25 +02:00
|
|
|
hooks:
|
|
|
|
|
- id: black
|
|
|
|
|
|
|
|
|
|
- repo: https://github.com/PyCQA/isort
|
2023-01-31 05:34:40 +00:00
|
|
|
rev: "5.12.0"
|
2021-07-23 23:52:25 +02:00
|
|
|
hooks:
|
|
|
|
|
- id: isort
|
|
|
|
|
|
|
|
|
|
- repo: https://github.com/PyCQA/flake8
|
2022-11-29 03:32:22 +00:00
|
|
|
rev: "6.0.0"
|
2021-07-23 23:52:25 +02:00
|
|
|
hooks:
|
|
|
|
|
- id: flake8
|
|
|
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
2023-07-04 09:00:29 +00:00
|
|
|
rev: "v1.4.1"
|
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
|
2023-07-04 09:00:29 +00:00
|
|
|
rev: "v3.8.0"
|
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
|
2023-07-04 09:00:29 +00:00
|
|
|
rev: 1.1.0
|
2022-07-05 09:32:22 +02:00
|
|
|
hooks:
|
|
|
|
|
- id: sync_with_poetry
|