File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
media-translation/snippets Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2929# WARNING - WARNING - WARNING - WARNING - WARNING
3030# WARNING - WARNING - WARNING - WARNING - WARNING
3131
32- BLACK_VERSION = "black==19.10b0 "
32+ BLACK_VERSION = "black==22.3.0 "
3333
3434# Copy `noxfile_config.py` to your directory and modify it instead.
3535
@@ -253,7 +253,7 @@ def py(session: nox.sessions.Session) -> None:
253253
254254
255255def _get_repo_root () -> Optional [str ]:
256- """ Returns the root folder of the project. """
256+ """Returns the root folder of the project."""
257257 # Get root of this repository. Assume we don't have directories nested deeper than 10 items.
258258 p = Path (os .getcwd ())
259259 for i in range (10 ):
Original file line number Diff line number Diff line change @@ -114,13 +114,13 @@ def listen_print_loop(responses):
114114 # END_OF_SINGLE_UTTERANCE event.
115115 if response .speech_event_type == SpeechEventType .END_OF_SINGLE_UTTERANCE :
116116
117- print (u "\n Final translation: {0}" .format (translation ))
117+ print ("\n Final translation: {0}" .format (translation ))
118118 return 0
119119
120120 result = response .result
121121 translation = result .text_translation_result .translation
122122
123- print (u "\n Partial translation: {0}" .format (translation ))
123+ print ("\n Partial translation: {0}" .format (translation ))
124124
125125
126126def do_translation_loop ():
You can’t perform that action at this time.
0 commit comments