Ran black on sources
This commit is contained in:
parent
24d52f229f
commit
f6b43b0416
125 changed files with 355 additions and 329 deletions
|
|
@ -118,6 +118,7 @@ from copy import copy, deepcopy
|
|||
from textwrap import TextWrapper
|
||||
|
||||
from django.conf import settings
|
||||
|
||||
from evennia.utils.ansi import ANSIString
|
||||
from evennia.utils.utils import display_len as d_len
|
||||
from evennia.utils.utils import is_iter, justify
|
||||
|
|
@ -220,7 +221,6 @@ class ANSITextWrapper(TextWrapper):
|
|||
chunks.reverse()
|
||||
|
||||
while chunks:
|
||||
|
||||
# Start the list of chunks that will make up the current line.
|
||||
# cur_len is just the length of all the chunks in cur_line.
|
||||
cur_line = []
|
||||
|
|
@ -1401,7 +1401,6 @@ class EvTable:
|
|||
if self.height:
|
||||
# if we are fixing the table height, it means cells must crop text instead of resizing.
|
||||
if nrowmax:
|
||||
|
||||
# get minimum possible cell heights for each column
|
||||
cheights_min = [
|
||||
max(cell.get_min_height() for cell in (col[iy] for col in self.worktable))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue