Skip to content

Commit c3d623b

Browse files
Apply ruff/pyupgrade rule UP007
Use `X | Y` for type annotations
1 parent 315f6c1 commit c3d623b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tabulate/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2533,7 +2533,7 @@ def _build_row(
25332533
padded_cells: list[list],
25342534
colwidths: list[int],
25352535
colaligns: list[str],
2536-
rowfmt: Union[DataRow, Callable],
2536+
rowfmt: Union[DataRow, Callable], # FIXME # noqa: UP007
25372537
) -> str:
25382538
"Return a string which represents a row of data cells."
25392539
if not rowfmt:

0 commit comments

Comments
 (0)