add missing type hints in termcolor (#5813)

This commit is contained in:
Anton Grübel authored and GitHub committed 2021-07-28 17:51:41 +02:00
1 parent 69c56b9496
commit 3ed0bb0880
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -1,2 +1,2 @@
version = "0.1"
version = "1.1"
python2 = true
+5
View File
@@ -1,5 +1,10 @@
from typing import Any, Iterable, Optional, Text
ATTRIBUTES: dict[str, int]
COLORS: dict[str, int]
HIGHLIGHTS: dict[str, int]
RESET: str
def colored(
text: Text, color: Optional[Text] = ..., on_color: Optional[Text] = ..., attrs: Optional[Iterable[Text]] = ...
) -> Text: ...