[tabulate] Update to 0.10.* (#15491)

This commit is contained in:
Semyon Moroz
2026-03-07 11:17:12 +00:00
committed by GitHub
parent 6827cd4777
commit 3e9ca33422
3 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
version = "0.9.*"
version = "0.10.*"
upstream_repository = "https://github.com/astanin/python-tabulate"
+8 -3
View File
@@ -1,11 +1,10 @@
from collections.abc import Callable, Container, Iterable, Mapping, Sequence
from typing import Any, Final, NamedTuple
from typing import Any, Final, Literal, NamedTuple
from typing_extensions import Self, TypeAlias
from .version import __version__ as __version__
__all__ = ["tabulate", "tabulate_formats", "simple_separated_format"]
__version__: Final[str]
# These constants are meant to be configurable
# https://github.com/astanin/python-tabulate#text-formatting
PRESERVE_WHITESPACE: bool
@@ -55,10 +54,16 @@ def tabulate(
missingval: str | Iterable[str] = "",
showindex: str | bool | Iterable[Any] = "default",
disable_numparse: bool | Iterable[int] = False,
colglobalalign: Literal["right", "center", "decimal", "left"] | None = None,
colalign: Iterable[str | None] | None = None,
preserve_whitespace: bool = False,
maxcolwidths: int | Iterable[int | None] | None = None,
headersglobalalign: Literal["right", "center", "left"] | None = None,
headersalign: Iterable[str | None] | None = None,
rowalign: str | Iterable[str] | None = None,
maxheadercolwidths: int | Iterable[int] | None = None,
break_long_words: bool = True,
break_on_hyphens: bool = True,
) -> str: ...
class JupyterHTMLStr(str):
-6
View File
@@ -1,6 +0,0 @@
from typing import Final
version: Final[str]
__version__: Final[str]
version_tuple: Final[tuple[int, int, int]]
__version_tuple__: Final[tuple[int, int, int]]