From 6206c5a9d3473de74149c332c3ff47375d8a9d91 Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Tue, 18 Dec 2018 03:16:25 +0900 Subject: [PATCH] Add stubs for tabulate (#2384) --- 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 000000000..a36051575 --- /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: + ...