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

21 lines
566 B
YAML
Raw Normal View History

- repo: git://github.com/python-telegram-bot/mirrors-yapf
sha: v0.12.2
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
- repo: git://github.com/pre-commit/pre-commit-hooks
sha: 18d7035de5388cc7775be57f529c154bf541aab9
hooks:
- id: flake8
files: ^telegram/.*\.py$
- repo: git://github.com/pre-commit/mirrors-pylint
sha: v1.5.5
hooks:
- id: pylint
files: ^telegram/.*\.py$
2016-05-22 12:31:03 -03:00
args:
- --errors-only
- --disable=no-name-in-module,import-error