mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-21 22:56:38 +01:00
20 lines
541 B
YAML
20 lines
541 B
YAML
repos:
|
|
- repo: git://github.com/python-telegram-bot/mirrors-yapf
|
|
rev: 5769e088ef6e0a0d1eb63bd6d0c1fe9f3606d6c8
|
|
hooks:
|
|
- id: yapf
|
|
files: ^(telegram|tests)/.*\.py$
|
|
args:
|
|
- --diff
|
|
- repo: https://gitlab.com/pycqa/flake8
|
|
rev: 3.7.1
|
|
hooks:
|
|
- id: flake8
|
|
- repo: git://github.com/pre-commit/mirrors-pylint
|
|
rev: 9d8dcbc2b86c796275680f239c1e90dcd50bd398
|
|
hooks:
|
|
- id: pylint
|
|
files: ^telegram/.*\.py$
|
|
args:
|
|
- --errors-only
|
|
- --disable=import-error
|