From 2dc63f3d02efd2cb0ccea45248dd305e442c70d9 Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Mon, 7 Jan 2019 19:08:02 +0100 Subject: yapf code --- tools/interop_matrix/client_matrix.py | 5 ++++- tools/interop_matrix/run_interop_matrix_tests.py | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'tools/interop_matrix') 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): -- cgit v1.2.3