fix whitespace problems in autogenerate script

Signed-off-by: Andreea Florescu <fandree@amazon.com>
This commit is contained in:
Andreea Florescu
2022-09-06 17:19:50 +02:00
committed by Andreea Florescu
parent 2eab2752c0
commit 5f36cc9604

View File

@@ -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