mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-21 22:56:38 +01:00
Adding pre-commit hooks #259
This commit is contained in:
parent
880746baed
commit
46993d5f2d
2 changed files with 6 additions and 0 deletions
5
.pre-commit-config.yaml
Normal file
5
.pre-commit-config.yaml
Normal 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]
|
|
@ -5,3 +5,4 @@ pylint
|
|||
unittest2
|
||||
flaky
|
||||
yapf
|
||||
pre-commit
|
||||
|
|
Loading…
Reference in a new issue