Skip to content

Commit 2f378fd

Browse files
committed
try fixing mypy error
1 parent e2b9472 commit 2f378fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/formats/format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ def _truncate_horizontally(self) -> None:
682682
else:
683683
col_num = cast(int, self.max_cols)
684684
self.tr_frame = self.tr_frame.iloc[:, :col_num]
685-
self.tr_col_num = col_num
685+
self.tr_col_num: int = col_num
686686

687687
def _truncate_vertically(self) -> None:
688688
"""Remove rows, which are not to be displayed.

0 commit comments

Comments
 (0)