From 0a0d3d7412e1f2b6513331b13bb011d824411bdc Mon Sep 17 00:00:00 2001 From: fbanados Date: Tue, 19 Nov 2024 22:28:13 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=F0=9F=A7=B9=20reformat=20Python=20?= =?UTF-8?q?files=20[skip=20ci]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/morphodict/phrase_translate/to_target/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/morphodict/phrase_translate/to_target/__init__.py b/src/morphodict/phrase_translate/to_target/__init__.py index d30008008..c7cdef822 100644 --- a/src/morphodict/phrase_translate/to_target/__init__.py +++ b/src/morphodict/phrase_translate/to_target/__init__.py @@ -17,7 +17,11 @@ def inflect_target_language_phrase(analysis, lemma_definition): if isinstance(analysis, tuple): analysis = RichAnalysis(analysis) - cree_wordform_tag_list = analysis.prefix_tags + analysis.suffix_tags + settings.DEFAULT_TARGET_LANGUAGE_PHRASE_TAGS + cree_wordform_tag_list = ( + analysis.prefix_tags + + analysis.suffix_tags + + settings.DEFAULT_TARGET_LANGUAGE_PHRASE_TAGS + ) if "+N" in cree_wordform_tag_list: tags_for_phrase = noun_wordform_to_phrase.map_tags(cree_wordform_tag_list)