From 7365739b157658cdfa7bc9818d125956f69149b4 Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Tue, 14 Aug 2018 21:21:02 -0700 Subject: [PATCH] Add stubs for tabulate --- third_party/2and3/tabulate.pyi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 third_party/2and3/tabulate.pyi diff --git a/third_party/2and3/tabulate.pyi b/third_party/2and3/tabulate.pyi new file mode 100644 index 000000000000..a360515759f8 --- /dev/null +++ b/third_party/2and3/tabulate.pyi @@ -0,0 +1,18 @@ +# Stub for tabulate: https://bitbucket.org/astanin/python-tabulate +from typing import Any, Dict, Iterable, Sequence, Union + + +def __getattr__(name: str) -> Any: ... + +def tabulate( + tabular_data: Iterable[Iterable[Any]], + headers: Union[str, Dict[str, str], Sequence[str]] = ..., + tablefmt: str = ..., + floatfmt: str = ..., + numalign: str = ..., + stralign: str = ..., + missingval: str = ..., + showindex: str = ..., + disable_numparse: bool = ... +) -> str: + ...