2019-02-28 22:02:08 +01:00
|
|
|
repos:
|
2016-10-12 22:51:46 +02:00
|
|
|
- repo: git://github.com/python-telegram-bot/mirrors-yapf
|
2020-02-21 06:43:48 +01:00
|
|
|
rev: 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
|
2020-02-21 06:43:48 +01:00
|
|
|
- repo: https://gitlab.com/pycqa/flake8
|
|
|
|
rev: 3.7.1
|
2016-05-15 03:24:35 +02:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|
|
|
|
- repo: git://github.com/pre-commit/mirrors-pylint
|
2020-02-21 06:43:48 +01:00
|
|
|
rev: 9d8dcbc2b86c796275680f239c1e90dcd50bd398
|
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
|