2021-03-09 00:45:24 +03:00
|
|
|
repos:
|
2021-05-04 00:15:12 +03:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2022-04-26 00:08:48 +03:00
|
|
|
rev: v4.2.0
|
2021-05-04 00:15:12 +03:00
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: no-commit-to-branch
|
|
|
|
args: [--branch, main]
|
|
|
|
- repo: https://github.com/psf/black
|
2022-04-26 00:08:48 +03:00
|
|
|
rev: 22.3.0
|
2021-05-04 00:15:12 +03:00
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
- repo: https://github.com/PyCQA/flake8
|
2022-04-26 00:08:48 +03:00
|
|
|
rev: 4.0.1
|
2021-05-04 00:15:12 +03:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|
|
|
|
- repo: https://github.com/PyCQA/isort
|
2023-01-30 19:42:41 +03:00
|
|
|
rev: 5.12.0
|
2021-05-04 00:15:12 +03:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
- repo: https://github.com/PyCQA/pydocstyle
|
2022-04-26 00:08:48 +03:00
|
|
|
rev: 6.1.1
|
2021-05-04 00:15:12 +03:00
|
|
|
hooks:
|
|
|
|
- id: pydocstyle
|
|
|
|
exclude: (.*/)?test_.*\.py
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
2022-04-26 00:08:48 +03:00
|
|
|
rev: v0.942
|
2021-05-04 00:15:12 +03:00
|
|
|
hooks:
|
|
|
|
- id: mypy
|
2022-05-26 00:58:06 +03:00
|
|
|
additional_dependencies:
|
|
|
|
- types-PyYAML
|
2021-05-04 00:15:12 +03:00
|
|
|
- repo: https://github.com/adrienverge/yamllint
|
2022-04-26 00:08:48 +03:00
|
|
|
rev: v1.26.3
|
2021-05-04 00:15:12 +03:00
|
|
|
hooks:
|
|
|
|
- id: yamllint
|
|
|
|
args: [-c, .yamllint.yaml, .]
|