Skip to content

Commit 0e6168d

Browse files
committed
TASK: Reformat code
1 parent 4e359b5 commit 0e6168d

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ def callback_eval(bot, update):
260260
elif query_data == "cancel_comment":
261261
cancel(bot, update)
262262

263+
263264
def send_message(chat_id, text, message_id=None, parse_mode=None, reply_markup=None, game_id=None):
264265
tg_bot.sendMessage(chat_id=chat_id, text=text, reply_to_message_id=message_id, parse_mode=parse_mode,
265266
reply_markup=reply_markup)

tests/test_blackJack.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from unittest import TestCase
44

55
from database.db_wrapper import DBwrapper
6+
from game.blackJack import BlackJack
67

78

89
class TestBlackJack(TestCase):
@@ -179,7 +180,7 @@ def pick_one_card(self):
179180
return card
180181

181182
def get_card_name(self, card):
182-
symbol = self.symbols[card//13]
183+
symbol = self.symbols[card // 13]
183184
value = self.value_str[card % 13]
184185
card_name = "|" + symbol + " " + value + "|"
185186
return card_name

userstate.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# -*- coding: utf-8 -*-
22

3+
34
class UserState(object):
45
IDLE = 0
56
COMMENTING = 1

0 commit comments

Comments
 (0)