2018-05-28 21:18:54 +03:00
|
|
|
repos:
|
2018-05-22 20:56:58 +03:00
|
|
|
- repo: git://github.com/pre-commit/pre-commit-hooks
|
2019-03-08 22:09:45 +03:00
|
|
|
rev: v2.1.0
|
2018-05-22 20:56:58 +03:00
|
|
|
hooks:
|
2019-03-08 22:09:45 +03:00
|
|
|
- id: check-merge-conflict
|
2018-05-22 20:56:58 +03:00
|
|
|
- id: check-json
|
|
|
|
- id: check-yaml
|
|
|
|
- id: debug-statements
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
exclude: ^docs/.*$
|
|
|
|
- id: pretty-format-json
|
|
|
|
args:
|
|
|
|
- --autofix
|
2019-03-08 22:09:45 +03:00
|
|
|
- id: trailing-whitespace
|
|
|
|
exclude: README.md
|
2018-06-09 16:01:29 +03:00
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2019-03-08 22:09:45 +03:00
|
|
|
rev: v1.12.0
|
2018-06-09 16:01:29 +03:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
2018-07-06 21:10:41 +03:00
|
|
|
- repo: https://github.com/ambv/black
|
2021-07-16 18:56:15 +03:00
|
|
|
rev: 21.6b0
|
2018-05-28 21:18:54 +03:00
|
|
|
hooks:
|
2018-07-06 21:10:41 +03:00
|
|
|
- id: black
|
2018-10-18 22:28:12 +03:00
|
|
|
language_version: python3
|
2019-03-08 22:09:45 +03:00
|
|
|
- repo: https://github.com/PyCQA/flake8
|
2021-07-16 18:56:15 +03:00
|
|
|
rev: 3.9.2
|
2019-03-08 22:09:45 +03:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|