This commit is contained in:
Maxim Kurnikov
2019-02-06 22:20:12 +03:00
parent 2559901ff3
commit d43cb1fcd7
16 changed files with 105 additions and 30 deletions

View File

@@ -1,4 +1,4 @@
from typing import Any, Callable, Dict, Optional, Tuple, Union
from typing import Any, Callable, Dict, Optional, Tuple, Union, Sequence
color_names: Any
foreground: Any
@@ -6,7 +6,7 @@ background: Any
RESET: str
opt_dict: Any
def colorize(text: Optional[str] = ..., opts: Union[Tuple, str] = ..., **kwargs: Any) -> str: ...
def colorize(text: Optional[str] = ..., opts: Sequence[str] = ..., **kwargs: Any) -> str: ...
def make_style(opts: Tuple = ..., **kwargs: Any) -> Callable: ...
NOCOLOR_PALETTE: str