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
|
2018-06-05 23:47:07 +03:00
|
|
|
rev: v1.3.0
|
2018-05-22 20:56:58 +03:00
|
|
|
hooks:
|
|
|
|
- id: check-json
|
|
|
|
- id: check-yaml
|
|
|
|
- id: debug-statements
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
exclude: ^docs/.*$
|
|
|
|
- id: trailing-whitespace
|
2018-06-09 08:19:26 +03:00
|
|
|
exclude: README.md
|
2018-05-22 20:56:58 +03:00
|
|
|
- id: pretty-format-json
|
|
|
|
args:
|
|
|
|
- --autofix
|
2018-06-05 23:47:07 +03:00
|
|
|
- id: flake8
|
2018-06-09 16:01:29 +03:00
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2018-07-07 00:03:15 +03:00
|
|
|
rev: v1.4.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
|
2018-07-07 00:03:15 +03:00
|
|
|
rev: 18.6b4
|
2018-05-28 21:18:54 +03:00
|
|
|
hooks:
|
2018-07-06 21:10:41 +03:00
|
|
|
- id: black
|
|
|
|
language_version: python3.6
|