aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2019-01-07 19:08:02 +0100
committerGravatar Jan Tattermusch <jtattermusch@google.com>2019-01-07 19:08:02 +0100
commit2dc63f3d02efd2cb0ccea45248dd305e442c70d9 (patch)
treeecef4463731130e43e0effb6098bb66a226ac495
parenta13e77e14db90fd2b0a87ca151b4db0786f34ff6 (diff)
yapf code
-rw-r--r--tools/interop_matrix/client_matrix.py5
-rwxr-xr-xtools/interop_matrix/run_interop_matrix_tests.py3
2 files changed, 6 insertions, 2 deletions
diff --git a/tools/interop_matrix/client_matrix.py b/tools/interop_matrix/client_matrix.py
index 3546d59c31..4964fd6167 100644
--- a/tools/interop_matrix/client_matrix.py
+++ b/tools/interop_matrix/client_matrix.py
@@ -44,7 +44,10 @@ def get_runtimes_for_lang_release(lang, release):
if release_info[release] is not None:
runtimes_to_skip = release_info[release].get('skip_runtime', [])
break
- return [runtime for runtime in LANG_RUNTIME_MATRIX[lang] if runtime not in runtimes_to_skip]
+ return [
+ runtime for runtime in LANG_RUNTIME_MATRIX[lang]
+ if runtime not in runtimes_to_skip
+ ]
def should_build_docker_interop_image_from_release_tag(lang):
diff --git a/tools/interop_matrix/run_interop_matrix_tests.py b/tools/interop_matrix/run_interop_matrix_tests.py
index 693996031e..d75cab90c2 100755
--- a/tools/interop_matrix/run_interop_matrix_tests.py
+++ b/tools/interop_matrix/run_interop_matrix_tests.py
@@ -117,7 +117,8 @@ def _get_test_images_for_lang(lang, release_arg, image_path_prefix):
images = {}
for tag in releases:
for runtime in client_matrix.get_runtimes_for_lang_release(lang, tag):
- image_name = '%s/grpc_interop_%s:%s' % (image_path_prefix, runtime, tag)
+ image_name = '%s/grpc_interop_%s:%s' % (image_path_prefix, runtime,
+ tag)
image_tuple = (tag, image_name)
if not images.has_key(runtime):