mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-23 07:38:58 +01:00
20 lines
565 B
YAML
20 lines
565 B
YAML
- repo: git://github.com/python-telegram-bot/mirrors-yapf
|
|
sha: master
|
|
hooks:
|
|
- id: yapf
|
|
files: ^(telegram|tests)/.*\.py$
|
|
args:
|
|
- --diff
|
|
- repo: git://github.com/pre-commit/pre-commit-hooks
|
|
sha: 78818b90cd694c29333ba54d38f9e60b6359ccfc
|
|
hooks:
|
|
- id: flake8
|
|
files: ^telegram/.*\.py$
|
|
- repo: git://github.com/pre-commit/mirrors-pylint
|
|
sha: v1.7.1
|
|
hooks:
|
|
- id: pylint
|
|
files: ^telegram/.*\.py$
|
|
args:
|
|
- --errors-only
|
|
- --disable=no-name-in-module,import-error
|