2016-10-12 23:51:46 +03:00
|
|
|
- repo: git://github.com/python-telegram-bot/mirrors-yapf
|
2017-06-22 21:59:17 +03:00
|
|
|
sha: master
|
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
|
2016-05-14 22:24:35 -03:00
|
|
|
- repo: git://github.com/pre-commit/pre-commit-hooks
|
2018-02-19 12:41:38 +02:00
|
|
|
sha: v1.2.0
|
2016-05-14 22:24:35 -03:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|
2018-02-19 12:41:38 +02:00
|
|
|
exclude: ^(setup.py|docs/source/conf.py)$
|
2016-05-14 22:24:35 -03:00
|
|
|
- repo: git://github.com/pre-commit/mirrors-pylint
|
2017-06-22 21:59:17 +03:00
|
|
|
sha: v1.7.1
|
2016-05-14 22:24:35 -03:00
|
|
|
hooks:
|
|
|
|
- id: pylint
|
2016-05-22 13:12:05 -03:00
|
|
|
files: ^telegram/.*\.py$
|
2016-05-22 12:31:03 -03:00
|
|
|
args:
|
|
|
|
- --errors-only
|
2017-08-11 23:58:41 +02:00
|
|
|
- --disable=import-error
|