2021-02-25 01:03:37 +03:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v3.4.0
|
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: no-commit-to-branch
|
|
|
|
args: [--branch, main, --branch, master]
|
|
|
|
- repo: https://github.com/psf/black
|
2023-04-26 18:31:48 +03:00
|
|
|
rev: 23.1.0
|
2021-02-25 01:03:37 +03:00
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
- repo: https://github.com/PyCQA/flake8
|
2023-04-26 18:31:48 +03:00
|
|
|
rev: 4.0.1
|
2021-02-25 01:03:37 +03:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|
2021-04-22 23:48:59 +03:00
|
|
|
exclude: dags/
|
2021-02-25 01:03:37 +03:00
|
|
|
- repo: https://github.com/adrienverge/yamllint
|
2023-04-26 18:31:48 +03:00
|
|
|
rev: v1.28.0
|
2021-02-25 01:03:37 +03:00
|
|
|
hooks:
|
|
|
|
- id: yamllint
|
|
|
|
args: [-c, .yamllint.yaml, .]
|
2021-02-25 01:11:52 +03:00
|
|
|
- repo: https://github.com/PyCQA/isort
|
2023-03-02 20:30:23 +03:00
|
|
|
rev: 5.12.0
|
2021-02-25 01:11:52 +03:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
2021-03-10 22:01:08 +03:00
|
|
|
- repo: https://github.com/PyCQA/pydocstyle
|
2023-04-26 18:31:48 +03:00
|
|
|
rev: 6.3.0
|
2021-03-10 22:01:08 +03:00
|
|
|
hooks:
|
|
|
|
- id: pydocstyle
|
2021-05-04 19:12:13 +03:00
|
|
|
exclude: dags/|(.*/)?test_.*\.py|setup.py
|
2021-05-04 19:32:25 +03:00
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
2023-04-26 18:31:48 +03:00
|
|
|
rev: v0.991
|
2021-05-04 19:32:25 +03:00
|
|
|
hooks:
|
|
|
|
- id: mypy
|
2023-04-26 18:31:48 +03:00
|
|
|
additional_dependencies: [types-pytz==2022.6.0.1,
|
2022-10-11 19:06:32 +03:00
|
|
|
types-ujson==5.5.0,
|
|
|
|
types-python-dateutil==2.8.19,
|
|
|
|
types-requests==2.28.11.2,
|
|
|
|
types-attrs==19.1.0,
|
|
|
|
types-PyYAML==6.0.12]
|