Skip to content

Commit 3e9ca33

Browse files
authored
[tabulate] Update to 0.10.* (#15491)
1 parent 6827cd4 commit 3e9ca33

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

stubs/tabulate/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version = "0.9.*"
1+
version = "0.10.*"
22
upstream_repository = "https://github.com/astanin/python-tabulate"

stubs/tabulate/tabulate/__init__.pyi

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
from collections.abc import Callable, Container, Iterable, Mapping, Sequence
2-
from typing import Any, Final, NamedTuple
2+
from typing import Any, Final, Literal, NamedTuple
33
from typing_extensions import Self, TypeAlias
44

5-
from .version import __version__ as __version__
6-
75
__all__ = ["tabulate", "tabulate_formats", "simple_separated_format"]
86

7+
__version__: Final[str]
98
# These constants are meant to be configurable
109
# https://github.com/astanin/python-tabulate#text-formatting
1110
PRESERVE_WHITESPACE: bool
@@ -55,10 +54,16 @@ def tabulate(
5554
missingval: str | Iterable[str] = "",
5655
showindex: str | bool | Iterable[Any] = "default",
5756
disable_numparse: bool | Iterable[int] = False,
57+
colglobalalign: Literal["right", "center", "decimal", "left"] | None = None,
5858
colalign: Iterable[str | None] | None = None,
59+
preserve_whitespace: bool = False,
5960
maxcolwidths: int | Iterable[int | None] | None = None,
61+
headersglobalalign: Literal["right", "center", "left"] | None = None,
62+
headersalign: Iterable[str | None] | None = None,
6063
rowalign: str | Iterable[str] | None = None,
6164
maxheadercolwidths: int | Iterable[int] | None = None,
65+
break_long_words: bool = True,
66+
break_on_hyphens: bool = True,
6267
) -> str: ...
6368

6469
class JupyterHTMLStr(str):

stubs/tabulate/tabulate/version.pyi

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)