mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-01-20 15:54:52 +01:00
Pin pre-commit pylint to v2.3.0
Fixes issue seen at https://travis-ci.org/python-telegram-bot/python-telegram-bot/jobs/499853384#L702
This commit is contained in:
parent
36a74da4f4
commit
df813c46e1
1 changed files with 4 additions and 3 deletions
|
@ -1,19 +1,20 @@
|
||||||
|
repos:
|
||||||
- repo: git://github.com/python-telegram-bot/mirrors-yapf
|
- repo: git://github.com/python-telegram-bot/mirrors-yapf
|
||||||
sha: master
|
rev: master
|
||||||
hooks:
|
hooks:
|
||||||
- id: yapf
|
- id: yapf
|
||||||
files: ^(telegram|tests)/.*\.py$
|
files: ^(telegram|tests)/.*\.py$
|
||||||
args:
|
args:
|
||||||
- --diff
|
- --diff
|
||||||
- repo: git://github.com/pre-commit/pre-commit-hooks
|
- repo: git://github.com/pre-commit/pre-commit-hooks
|
||||||
sha: v2.0.0
|
rev: v2.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: flake8
|
||||||
exclude: ^(setup.py|docs/source/conf.py)$
|
exclude: ^(setup.py|docs/source/conf.py)$
|
||||||
args:
|
args:
|
||||||
- --ignore=W605,W503
|
- --ignore=W605,W503
|
||||||
- repo: git://github.com/pre-commit/mirrors-pylint
|
- repo: git://github.com/pre-commit/mirrors-pylint
|
||||||
sha: v2.2.2
|
rev: v2.3.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: pylint
|
- id: pylint
|
||||||
files: ^telegram/.*\.py$
|
files: ^telegram/.*\.py$
|
||||||
|
|
Loading…
Reference in a new issue