From 73f453a9f33bd35d6080b71b9a196bfe95f8759d Mon Sep 17 00:00:00 2001 From: thomashacker Date: Mon, 6 Feb 2023 12:47:12 +0100 Subject: [PATCH] Add type ignore for mypy --- spacy/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/util.py b/spacy/util.py index 1b5f5ecca..31ef2df02 100644 --- a/spacy/util.py +++ b/spacy/util.py @@ -146,7 +146,7 @@ class registry(thinc.registry): @classmethod def find( cls, registry_name: str, func_name: str - ) -> Dict[str, Optional[Union[str, int]]]: + ) -> Dict[str, Optional[Union[str, int]]]: # type: ignore """Find the information about a registered function, including the module and path to the file it's defined in, the line number and the docstring, if available.