mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-17 04:39:55 +01:00
lint fixes
This commit is contained in:
parent
469213ba9d
commit
29c1f7e027
2 changed files with 7 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env python
|
||||
# flake8: noqa
|
||||
|
||||
|
||||
class Emoji(object):
|
||||
|
|
|
@ -19,8 +19,12 @@ class ReplyKeyboardMarkup(ReplyMarkup):
|
|||
@staticmethod
|
||||
def de_json(data):
|
||||
return ReplyKeyboardMarkup(keyboard=data.get('keyboard', None),
|
||||
resize_keyboard=data.get('resize_keyboard', None),
|
||||
one_time_keyboard=data.get('one_time_keyboard', None),
|
||||
resize_keyboard=data.get(
|
||||
'resize_keyboard', None
|
||||
),
|
||||
one_time_keyboard=data.get(
|
||||
'one_time_keyboard', None
|
||||
),
|
||||
selective=data.get('selective', None))
|
||||
|
||||
def to_json(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue