python-telegram-bot/.pre-commit-config.yaml

21 lines
541 B
YAML
Raw Normal View History

repos:
- repo: git://github.com/python-telegram-bot/mirrors-yapf
2020-02-20 21:43:48 -08:00
rev: 5769e088ef6e0a0d1eb63bd6d0c1fe9f3606d6c8
2016-05-14 21:59:08 -03:00
hooks:
- id: yapf
2016-05-23 22:13:38 -03:00
files: ^(telegram|tests)/.*\.py$
2017-05-21 14:29:24 +02:00
args:
- --diff
2020-02-20 21:43:48 -08:00
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.1
hooks:
- id: flake8
- repo: git://github.com/pre-commit/mirrors-pylint
2020-02-20 21:43:48 -08:00
rev: 9d8dcbc2b86c796275680f239c1e90dcd50bd398
hooks:
- id: pylint
files: ^telegram/.*\.py$
2016-05-22 12:31:03 -03:00
args:
- --errors-only
- --disable=import-error