mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-01-08 19:34:12 +01:00
Updates pre-commit hooks
This commit is contained in:
parent
dc27ff41ef
commit
a00f409992
1 changed files with 11 additions and 8 deletions
|
@ -1,17 +1,20 @@
|
|||
- repo: git://github.com/pre-commit/mirrors-yapf
|
||||
sha: 'v0.7.1'
|
||||
sha: d79d3113a991229b8f9d329e8e97b615abad91ba
|
||||
hooks:
|
||||
- id: yapf
|
||||
args: ['-i']
|
||||
|
||||
args:
|
||||
- -i
|
||||
- repo: git://github.com/pre-commit/pre-commit-hooks
|
||||
sha: 'v0.5.0'
|
||||
sha: adbb569fe9a64ad9bce3b53a77f1bc39ef31f682
|
||||
hooks:
|
||||
- id: flake8
|
||||
args: ['telegram']
|
||||
|
||||
args:
|
||||
- telegram
|
||||
- repo: git://github.com/pre-commit/mirrors-pylint
|
||||
sha: 'v1.5.5'
|
||||
sha: 4de6c8dfadef1a271a814561ce05b8bc1c446d22
|
||||
hooks:
|
||||
- id: pylint
|
||||
args: ['--errors-only', '--disable=no-name-in-module,import-error', 'telegram']
|
||||
args:
|
||||
- --errors-only
|
||||
- --disable=no-name-in-module,import-error
|
||||
- telegram
|
||||
|
|
Loading…
Reference in a new issue