mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-07 21:54:54 +03:00
Fix mypy
This commit is contained in:
parent
b29c0c6083
commit
df53e964d2
|
@ -1,4 +1,4 @@
|
|||
from typing import Optional, List, Dict, Sequence, Any, Iterable
|
||||
from typing import Optional, List, Dict, Sequence, Any, Iterable, Union
|
||||
from pathlib import Path
|
||||
from wasabi import msg
|
||||
from wasabi.util import locale_escape
|
||||
|
@ -167,6 +167,7 @@ def run_commands(
|
|||
when you want to run the command more like a function.
|
||||
"""
|
||||
for c in commands:
|
||||
command: Union[str, List[str]]
|
||||
if is_windows:
|
||||
# On Windows we don't rewrite the command because there's no
|
||||
# reliable way to split and reassemble it
|
||||
|
|
Loading…
Reference in New Issue
Block a user