mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-23 07:38:58 +01:00
20 lines
566 B
YAML
20 lines
566 B
YAML
- repo: git://github.com/python-telegram-bot/mirrors-yapf
|
|
sha: v0.12.2
|
|
hooks:
|
|
- id: yapf
|
|
files: ^(telegram|tests)/.*\.py$
|
|
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$
|
|
args:
|
|
- --errors-only
|
|
- --disable=no-name-in-module,import-error
|