Skip to content

Commit

Permalink
pylint: fix warnings after upgrade to pylint 3.3.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierog committed Nov 17, 2024
1 parent 5e52f43 commit 49fbdac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ disable = [
"too-many-branches",
"too-many-instance-attributes",
"too-many-locals",
"too-many-positional-arguments",
"too-many-public-methods",
"too-many-statements",
]
2 changes: 1 addition & 1 deletion src/moulti/widgets/step/tui.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(self, step: 'Step', delay_ms: int):

def new_data(self, lines: Iterable[str|Text], max_cell_len: int, force: bool = False) -> None:
self.lines.extend(lines)
if max_cell_len > self.max_cell_len: # pylint: disable=consider-using-min-builtin
if max_cell_len > self.max_cell_len: # pylint: disable=consider-using-max-builtin
self.max_cell_len = max_cell_len
self.append(force)

Expand Down

0 comments on commit 49fbdac

Please sign in to comment.