From ffd6b1dc6fe106b3f3fd09af94ae8e07f059934e Mon Sep 17 00:00:00 2001 From: Teemu Ruokolainen Date: Fri, 2 Feb 2024 10:40:22 +0200 Subject: [PATCH] lint --- src/speech2text.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/speech2text.py b/src/speech2text.py index 508c378..cd3457d 100644 --- a/src/speech2text.py +++ b/src/speech2text.py @@ -346,7 +346,12 @@ def main(): pass else: # Given language not OK - pretty_language_list = ", ".join([f'{lang} ({short})' for lang, short in settings.supported_languages.items()]) + pretty_language_list = ", ".join( + [ + f"{lang} ({short})" + for lang, short in settings.supported_languages.items() + ] + ) logger.warning( f"Given language '{language}' not found among supported languages: {pretty_language_list}. Opting to detect language automatically" )