mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-01-03 17:52:31 +01:00
df813c46e1
Fixes issue seen at https://travis-ci.org/python-telegram-bot/python-telegram-bot/jobs/499853384#L702
23 lines
580 B
YAML
23 lines
580 B
YAML
repos:
|
|
- repo: git://github.com/python-telegram-bot/mirrors-yapf
|
|
rev: master
|
|
hooks:
|
|
- id: yapf
|
|
files: ^(telegram|tests)/.*\.py$
|
|
args:
|
|
- --diff
|
|
- repo: git://github.com/pre-commit/pre-commit-hooks
|
|
rev: v2.0.0
|
|
hooks:
|
|
- id: flake8
|
|
exclude: ^(setup.py|docs/source/conf.py)$
|
|
args:
|
|
- --ignore=W605,W503
|
|
- repo: git://github.com/pre-commit/mirrors-pylint
|
|
rev: v2.3.0
|
|
hooks:
|
|
- id: pylint
|
|
files: ^telegram/.*\.py$
|
|
args:
|
|
- --errors-only
|
|
- --disable=import-error
|