From 71c71d3760d3e4dfc1d0c296942573f08b9c08d8 Mon Sep 17 00:00:00 2001 From: Paul O'Leary McCann Date: Thu, 29 Sep 2022 13:58:24 +0900 Subject: [PATCH] Fix types --- spacy/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/util.py b/spacy/util.py index 70d0c5852..c526f796c 100644 --- a/spacy/util.py +++ b/spacy/util.py @@ -944,7 +944,7 @@ def run_command( *, stdin: Optional[Any] = None, capture: bool = False, - exe: str = None, + exe: Optional[str] = None, ) -> subprocess.CompletedProcess: """Run a command on the command line as a subprocess. If the subprocess returns a non-zero exit code, a system exit is performed.