2016-10-12 22:51:46 +02:00
|
|
|
- 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
|
2016-05-15 03:24:35 +02:00
|
|
|
- repo: git://github.com/pre-commit/pre-commit-hooks
|
2018-11-01 11:08:09 +01:00
|
|
|
sha: v2.0.0
|
2016-05-15 03:24:35 +02:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|
2018-02-19 11:41:38 +01:00
|
|
|
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
|
2016-05-15 03:24:35 +02:00
|
|
|
- repo: git://github.com/pre-commit/mirrors-pylint
|
2019-01-30 19:42:57 +01:00
|
|
|
sha: v2.2.2
|
2016-05-15 03:24:35 +02:00
|
|
|
hooks:
|
|
|
|
- id: pylint
|
2016-05-22 18:12:05 +02:00
|
|
|
files: ^telegram/.*\.py$
|
2016-05-22 17:31:03 +02:00
|
|
|
args:
|
|
|
|
- --errors-only
|
2017-08-11 23:58:41 +02:00
|
|
|
- --disable=import-error
|