From fade54fe95fe2bcd6649fc4c8915726c61293fdb Mon Sep 17 00:00:00 2001 From: Edward <43848523+thomashacker@users.noreply.github.com> Date: Wed, 23 Nov 2022 16:26:36 +0100 Subject: [PATCH] Update format spacy/errors.py Co-authored-by: Adriane Boyd --- spacy/errors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/errors.py b/spacy/errors.py index 83aea983a..23c381fbf 100644 --- a/spacy/errors.py +++ b/spacy/errors.py @@ -963,11 +963,11 @@ OLD_MODEL_SHORTCUTS = { "nl": "nl_core_news_sm", "el": "el_core_news_sm", "nb": "nb_core_news_sm", "lt": "lt_core_news_sm", "xx": "xx_ent_wiki_sm" } +# fmt: on # Renamed language codes in v4 -RENAMED_LANGUAGE_CODES = {"xx":"mul", "is":"isl"} +RENAMED_LANGUAGE_CODES = {"xx": "mul", "is": "isl"} -# fmt: on class MatchPatternError(ValueError):