File tree 2 files changed +4
-4
lines changed
media-translation/snippets
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 29
29
# WARNING - WARNING - WARNING - WARNING - WARNING
30
30
# WARNING - WARNING - WARNING - WARNING - WARNING
31
31
32
- BLACK_VERSION = "black==19.10b0 "
32
+ BLACK_VERSION = "black==22.3.0 "
33
33
34
34
# Copy `noxfile_config.py` to your directory and modify it instead.
35
35
@@ -253,7 +253,7 @@ def py(session: nox.sessions.Session) -> None:
253
253
254
254
255
255
def _get_repo_root () -> Optional [str ]:
256
- """ Returns the root folder of the project. """
256
+ """Returns the root folder of the project."""
257
257
# Get root of this repository. Assume we don't have directories nested deeper than 10 items.
258
258
p = Path (os .getcwd ())
259
259
for i in range (10 ):
Original file line number Diff line number Diff line change @@ -114,13 +114,13 @@ def listen_print_loop(responses):
114
114
# END_OF_SINGLE_UTTERANCE event.
115
115
if response .speech_event_type == SpeechEventType .END_OF_SINGLE_UTTERANCE :
116
116
117
- print (u "\n Final translation: {0}" .format (translation ))
117
+ print ("\n Final translation: {0}" .format (translation ))
118
118
return 0
119
119
120
120
result = response .result
121
121
translation = result .text_translation_result .translation
122
122
123
- print (u "\n Partial translation: {0}" .format (translation ))
123
+ print ("\n Partial translation: {0}" .format (translation ))
124
124
125
125
126
126
def do_translation_loop ():
You can’t perform that action at this time.
0 commit comments