Skip to content

Commit

Permalink
STY Fixes to style
Browse files Browse the repository at this point in the history
  • Loading branch information
thclark committed Sep 7, 2020
1 parent daaa0b4 commit d6d3d1f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions rstcloth/rstcloth_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,11 +470,7 @@ def _max_col_with(self, idx):
:param idx: the index to return max width of
:return:
"""
max_ = max(
[len(self.header[idx])] +
[len(x[idx]) for x in self.rows]
)
return max_
return max([len(self.header[idx])] + [len(x[idx]) for x in self.rows])

def render(self, padding=3):
"""
Expand Down

0 comments on commit d6d3d1f

Please sign in to comment.