From 5f36cc9604fbe8beb2dc9cc27d2a551300b741a5 Mon Sep 17 00:00:00 2001 From: Andreea Florescu Date: Tue, 6 Sep 2022 17:19:50 +0200 Subject: [PATCH] fix whitespace problems in autogenerate script Signed-off-by: Andreea Florescu --- .buildkite/autogenerate_pipeline.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.buildkite/autogenerate_pipeline.py b/.buildkite/autogenerate_pipeline.py index bbd4d05..f203b3c 100755 --- a/.buildkite/autogenerate_pipeline.py +++ b/.buildkite/autogenerate_pipeline.py @@ -144,11 +144,11 @@ class BuildkiteStep: env_cfg = json.loads(env_var) tests = env_cfg.get('tests') - assert tests,\ + assert tests, \ f"Environment variable {env_var} is missing the `tests` key." cfg = env_cfg.get('cfg') - assert cfg,\ + assert cfg, \ f"Environment variable {env_var} is missing the `cfg` key." if test_name in tests: @@ -214,7 +214,7 @@ class BuildkiteStep: assert command, "Step is missing command." if "{target_platform}" in command: - assert platform,\ + assert platform, \ "Command requires platform, but platform is missing." command = command.replace( "{target_platform}", platform