mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-29 03:32:49 +01:00
1ee53e9e17
Fixes #1321
22 lines
573 B
YAML
22 lines
573 B
YAML
- repo: git://github.com/python-telegram-bot/mirrors-yapf
|
|
sha: master
|
|
hooks:
|
|
- id: yapf
|
|
files: ^(telegram|tests)/.*\.py$
|
|
args:
|
|
- --diff
|
|
- repo: git://github.com/pre-commit/pre-commit-hooks
|
|
sha: 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
|
|
sha: v2.2.2
|
|
hooks:
|
|
- id: pylint
|
|
files: ^telegram/.*\.py$
|
|
args:
|
|
- --errors-only
|
|
- --disable=import-error
|