mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-26 16:38:53 +01:00
run yapf with --diff
This commit is contained in:
parent
ba6c4fd517
commit
017fdeaae8
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Reference in a new issue