Implement pre-commit hooks

This commit is contained in:
hematogender 2020-05-12 14:01:58 +03:00
commit d8ea95b05d
3 changed files with 24 additions and 0 deletions

9
.pre-commit-config.yaml Normal file
View file

@ -0,0 +1,9 @@
repos:
- repo: https://github.com/pre-commit/mirrors-yapf
rev: v0.30.0
hooks:
- id: yapf
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.0
hooks:
- id: flake8