Skip to content

Commit

Permalink
chore(lint): apply pylint suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyVignelles committed May 10, 2024
1 parent 7bc7719 commit 64e577f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ddb/utils/table_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ def _max_length(cells: Iterable[Iterable[str]]) -> int:
max_length = 0
for cell in cells:
for row in cell:
length = len(row)
if length > max_length:
max_length = length
max_length = max(max_length, len(row))
return max_length


Expand Down

0 comments on commit 64e577f

Please sign in to comment.