mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-24 07:49:40 +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
|
- repo: git://github.com/pre-commit/mirrors-yapf
|
||||||
sha: 'v0.7.1'
|
sha: d79d3113a991229b8f9d329e8e97b615abad91ba
|
||||||
hooks:
|
hooks:
|
||||||
- id: yapf
|
- id: yapf
|
||||||
args: ['-i']
|
args:
|
||||||
|
- -i
|
||||||
- repo: git://github.com/pre-commit/pre-commit-hooks
|
- repo: git://github.com/pre-commit/pre-commit-hooks
|
||||||
sha: 'v0.5.0'
|
sha: adbb569fe9a64ad9bce3b53a77f1bc39ef31f682
|
||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: flake8
|
||||||
args: ['telegram']
|
args:
|
||||||
|
- telegram
|
||||||
- repo: git://github.com/pre-commit/mirrors-pylint
|
- repo: git://github.com/pre-commit/mirrors-pylint
|
||||||
sha: 'v1.5.5'
|
sha: 4de6c8dfadef1a271a814561ce05b8bc1c446d22
|
||||||
hooks:
|
hooks:
|
||||||
- id: pylint
|
- 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…
Add table
Reference in a new issue