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

21 lines
547 B
YAML
Raw Normal View History

- repo: git://github.com/python-telegram-bot/mirrors-yapf
2017-06-22 20:59:17 +02:00
sha: master
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
2017-06-22 20:59:17 +02:00
sha: 78818b90cd694c29333ba54d38f9e60b6359ccfc
hooks:
- id: flake8
files: ^telegram/.*\.py$
- repo: git://github.com/pre-commit/mirrors-pylint
2017-06-22 20:59:17 +02:00
sha: v1.7.1
hooks:
- id: pylint
files: ^telegram/.*\.py$
2016-05-22 17:31:03 +02:00
args:
- --errors-only
- --disable=import-error