From 30520765bf828674d813dea3f52cfd0caec7aa0e Mon Sep 17 00:00:00 2001 From: Hannes Krumbiegel Date: Wed, 6 Sep 2023 13:29:04 +0200 Subject: [PATCH] Ignore mypy type checking --- spacy/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/__init__.py b/spacy/__init__.py index b2ead17aa..31260e8e4 100644 --- a/spacy/__init__.py +++ b/spacy/__init__.py @@ -21,7 +21,7 @@ try: from .cli.info import info # noqa: F401 except ImportError: - def info(*args, **kwargs): + def info(*args, **kwargs): # type: ignore raise RuntimeError("Importing the CLI failed. Info function not available.")