Adding pre-commit hooks #259

This commit is contained in:
Leandro Toledo 2016-05-14 21:59:08 -03:00
parent 880746baed
commit 46993d5f2d
2 changed files with 6 additions and 0 deletions

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

@ -0,0 +1,5 @@
- repo: git://github.com/pre-commit/mirrors-yapf
sha: 'v0.7.1'
hooks:
- id: yapf
args: [-i, -r tests telegram]

View file

@ -5,3 +5,4 @@ pylint
unittest2
flaky
yapf
pre-commit