2019-10-23 11:04:57 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/python/black.git
|
2020-04-24 08:59:03 +00:00
|
|
|
rev: 19.10b0
|
2019-10-23 11:04:57 +00:00
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
language_version: python3
|
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks.git
|
2020-04-24 08:59:03 +00:00
|
|
|
rev: v2.5.0
|
2019-10-23 11:04:57 +00:00
|
|
|
hooks:
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: mixed-line-ending
|
|
|
|
- id: check-byte-order-marker
|
|
|
|
- id: check-merge-conflict
|
|
|
|
- id: debug-statements
|
|
|
|
|
|
|
|
- repo: https://gitlab.com/pycqa/flake8.git
|
2020-04-24 08:59:03 +00:00
|
|
|
rev: 3.7.9
|
2019-10-23 11:04:57 +00:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|
|
|
|
language_version: python3
|
|
|
|
|
|
|
|
- repo: https://github.com/adrienverge/yamllint.git
|
2020-04-24 08:59:03 +00:00
|
|
|
rev: v1.23.0
|
2019-10-23 11:04:57 +00:00
|
|
|
hooks:
|
|
|
|
- id: yamllint
|
|
|
|
entry: yamllint -c .yamllint.yml --strict
|
|
|
|
language: python
|