From ba6afc8d0c1dbd8b9f2b5326a1f8b2116d52b2fa Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 29 Aug 2023 07:08:47 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/cleo/ui/table.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cleo/ui/table.py b/src/cleo/ui/table.py index a95e0b92..2499b730 100644 --- a/src/cleo/ui/table.py +++ b/src/cleo/ui/table.py @@ -613,7 +613,7 @@ def _get_row_columns(self, row: Row) -> list[int]: Gets list of columns for the given row. """ assert self._number_of_columns is not None - columns = list(range(0, self._number_of_columns)) + columns = list(range(self._number_of_columns)) for cell_key, cell in enumerate(row): if isinstance(cell, TableCell) and cell.colspan > 1: @@ -631,7 +631,7 @@ def _calculate_column_widths(self, rows: Rows) -> None: Calculates column widths. """ assert self._number_of_columns is not None - for column in range(0, self._number_of_columns): + for column in range(self._number_of_columns): lengths = [0] for row in rows: if isinstance(row, TableSeparator):