2022-10-19 17:10:30 +03:00
|
|
|
default_language_version:
|
2023-05-04 15:19:24 +03:00
|
|
|
python: python3.11
|
2022-10-19 17:10:30 +03:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2023-05-03 13:25:16 +03:00
|
|
|
rev: v4.4.0
|
2022-10-19 17:10:30 +03:00
|
|
|
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
|
2023-05-03 13:25:16 +03:00
|
|
|
rev: v3.3.2
|
2022-10-19 17:10:30 +03:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
|
|
|
args: [--py37-plus]
|
|
|
|
- repo: https://github.com/psf/black
|
2023-05-03 13:25:16 +03:00
|
|
|
rev: 23.3.0
|
2022-10-19 17:10:30 +03:00
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
- repo: https://github.com/PyCQA/flake8
|
2023-05-03 13:25:16 +03:00
|
|
|
rev: 6.0.0
|
2022-10-19 17:10:30 +03:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|