2021-11-26 18:41:50 +03:00
|
|
|
exclude: "{{cookiecutter.project_slug}}"
|
|
|
|
default_stages: [commit]
|
|
|
|
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2022-06-08 19:54:58 +03:00
|
|
|
rev: v4.3.0
|
2021-11-26 18:41:50 +03:00
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: check-yaml
|
|
|
|
|
2022-05-07 21:21:15 +03:00
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2022-11-11 13:00:06 +03:00
|
|
|
rev: v3.2.2
|
2022-05-07 21:21:15 +03:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
2022-10-24 23:41:00 +03:00
|
|
|
args: [--py310-plus]
|
2022-05-07 21:21:15 +03:00
|
|
|
exclude: hooks/
|
|
|
|
|
2021-11-26 18:41:50 +03:00
|
|
|
- repo: https://github.com/psf/black
|
2022-10-11 20:23:58 +03:00
|
|
|
rev: 22.10.0
|
2021-11-26 18:41:50 +03:00
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
|
|
|
|
- repo: https://github.com/PyCQA/isort
|
|
|
|
rev: 5.10.1
|
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
|
|
|
|
- repo: https://github.com/PyCQA/flake8
|
2022-08-05 01:33:09 +03:00
|
|
|
rev: 5.0.4
|
2021-11-26 18:41:50 +03:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|
|
|
|
|
|
|
|
ci:
|
|
|
|
autoupdate_schedule: weekly
|
|
|
|
skip: []
|
|
|
|
submodules: false
|