Enable minimal testing

This commit is contained in:
Luke Murphy
2019-10-23 13:04:57 +02:00
parent e96a71866d
commit 76ef7ff97e
42 changed files with 1773 additions and 472 deletions

31
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,31 @@
---
repos:
- repo: https://github.com/python/black.git
rev: 19.3b0
hooks:
- id: black
language_version: python3
- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v2.2.3
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
rev: 3.7.8
hooks:
- id: flake8
language_version: python3
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.17.0
hooks:
- id: yamllint
entry: yamllint -c .yamllint.yml --strict
language: python