mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-22 14:35:00 +01:00
5d7c6ad541
Required fixes: - CallbackQuery is now comparable. - Message.effective_attachment, Message.photo, Message.new_chat_members, Message.new_chat_photo & Game.text_entitties semantic fixes - when they are not defined, return an empty list. - Docstring fix to Update class.
20 lines
547 B
YAML
20 lines
547 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=import-error
|