2022-10-19 17:10:30 +03:00
|
|
|
default_language_version:
|
|
|
|
python: python3.9
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v4.3.0
|
|
|
|
hooks:
|
|
|
|
- id: check-merge-conflict
|
|
|
|
- id: check-json
|
|
|
|
- id: check-yaml
|
|
|
|
- id: debug-statements
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
exclude: ^docs/.*$
|
|
|
|
- id: pretty-format-json
|
|
|
|
args:
|
|
|
|
- --autofix
|
|
|
|
- id: trailing-whitespace
|
|
|
|
exclude: README.md
|
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2022-11-23 01:16:14 +03:00
|
|
|
rev: v3.2.0
|
2022-10-19 17:10:30 +03:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
|
|
|
args: [--py37-plus]
|
|
|
|
- repo: https://github.com/psf/black
|
2022-11-23 01:16:14 +03:00
|
|
|
rev: 22.10.0
|
2022-10-19 17:10:30 +03:00
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
- repo: https://github.com/PyCQA/flake8
|
|
|
|
rev: 5.0.4
|
|
|
|
hooks:
|
|
|
|
- id: flake8
|