run yapf with --diff

This commit is contained in:
Jannes Höke 2017-05-21 14:29:24 +02:00
parent ba6c4fd517
commit 017fdeaae8

View file

@ -3,6 +3,8 @@
hooks: hooks:
- id: yapf - id: yapf
files: ^(telegram|tests)/.*\.py$ files: ^(telegram|tests)/.*\.py$
args:
- --diff
- repo: git://github.com/pre-commit/pre-commit-hooks - repo: git://github.com/pre-commit/pre-commit-hooks
sha: 18d7035de5388cc7775be57f529c154bf541aab9 sha: 18d7035de5388cc7775be57f529c154bf541aab9
hooks: hooks: