add typehinting for foreground/background
This commit is contained in:
parent
5d2dd9178f
commit
a1e9aabb84
1 changed files with 2 additions and 2 deletions
|
@ -69,8 +69,8 @@ FORMAT_STRIP = [
|
||||||
]
|
]
|
||||||
def _format_tokens(s: str) -> typing.List[str]:
|
def _format_tokens(s: str) -> typing.List[str]:
|
||||||
is_color = False
|
is_color = False
|
||||||
foreground = []
|
foreground: typing.List[str] = []
|
||||||
background = []
|
background: typing.List[str] = []
|
||||||
is_background = False
|
is_background = False
|
||||||
matches = [] # type: typing.List[str]
|
matches = [] # type: typing.List[str]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue