mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-04 12:35:49 +08:00
[tabulate] Update to 0.10.* (#15491)
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
version = "0.9.*"
|
||||
version = "0.10.*"
|
||||
upstream_repository = "https://github.com/astanin/python-tabulate"
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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]]
|
||||
Reference in New Issue
Block a user