make pep561 compliant

This commit is contained in:
Maxim Kurnikov
2018-07-29 20:19:43 +03:00
parent 89bb6eac75
commit f471b7b1bf
372 changed files with 51 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
from typing import (
Callable,
Dict,
Optional,
Tuple,
Union,
)
def colorize(text: str = ..., opts: Union[str, Tuple] = ..., **kwargs) -> str: ...
def make_style(opts: Tuple = ..., **kwargs) -> Callable: ...
def parse_color_setting(
config_string: str
) -> Optional[Union[Dict[str, Dict[str, Union[str, Tuple[str]]]], Dict[str, Dict[str, str]]]]: ...