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

24 lines
682 B
YAML
Raw Normal View History

repos:
- repo: git://github.com/python-telegram-bot/mirrors-yapf
2019-08-23 21:20:41 +02:00
sha: 5769e088ef6e0a0d1eb63bd6d0c1fe9f3606d6c8
2016-05-15 02:59:08 +02:00
hooks:
- id: yapf
2016-05-24 03:13:38 +02:00
files: ^(telegram|tests)/.*\.py$
2017-05-21 14:29:24 +02:00
args:
- --diff
- repo: git://github.com/pre-commit/pre-commit-hooks
2019-08-23 21:20:41 +02:00
sha: 0b70e285e369bcb24b57b74929490ea7be9c4b19
hooks:
- id: flake8
exclude: ^(setup.py|docs/source/conf.py)$
2018-11-01 10:52:36 +01:00
args:
2018-11-01 11:08:09 +01:00
- --ignore=W605,W503
- repo: git://github.com/pre-commit/mirrors-pylint
2019-08-23 21:20:41 +02:00
sha: 9d8dcbc2b86c796275680f239c1e90dcd50bd398
hooks:
- id: pylint
files: ^telegram/.*\.py$
2016-05-22 17:31:03 +02:00
args:
- --errors-only
- --disable=import-error