black formatting

This commit is contained in:
Adrien MALINGREY 2019-10-08 01:11:51 +02:00
parent ee7e6fcdb9
commit 6135e24eac
2 changed files with 3 additions and 7 deletions

View File

@ -13,7 +13,7 @@ from .consts import (
AUTOREPEAT_PERIOD, AUTOREPEAT_PERIOD,
MATRIX_PIECE_COORD, MATRIX_PIECE_COORD,
SCORES, SCORES,
LINES_CLEAR_NAME LINES_CLEAR_NAME,
) )
@ -82,7 +82,6 @@ class NextQueue(PieceContainer):
class Stats: class Stats:
def _get_score(self): def _get_score(self):
return self._score return self._score
@ -302,10 +301,7 @@ class TetrisLogic:
# Pattern phase # Pattern phase
# T-Spin # T-Spin
if ( if type(self.matrix.piece) == T_Tetrimino and self.matrix.piece.rotated_last:
type(self.matrix.piece) == T_Tetrimino
and self.matrix.piece.rotated_last
):
a = self.is_t_slot(T_Slot.A) a = self.is_t_slot(T_Slot.A)
b = self.is_t_slot(T_Slot.B) b = self.is_t_slot(T_Slot.B)
c = self.is_t_slot(T_Slot.C) c = self.is_t_slot(T_Slot.C)