Skip to content

Commit 6a5987d

Browse files
committed
lint
1 parent b8f4f79 commit 6a5987d

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

runtime-unified-action/script.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def run_command(command: List[str]) -> subprocess.Popen:
7171

7272
def build_flags(inputs: dict) -> list:
7373

74-
TF_PARALLELISM=f"-parallelism={inputs.get('tf_parallelism') or '10'}"
74+
TF_PARALLELISM = f"-parallelism={inputs.get('tf_parallelism') or '10'}"
7575

7676
docker_flags: dict = dict(
7777
FEATURES_LEVEL_LOG=inputs.get("features_level_log") or "info",
@@ -94,8 +94,7 @@ def build_flags(inputs: dict) -> list:
9494
FEATURES_BASEPATH_TERRAFORM=FEATURES_BASEPATH_TERRAFORM,
9595
TF_CLI_ARGS_apply=TF_PARALLELISM,
9696
TF_CLI_ARGS_plan=TF_PARALLELISM,
97-
TF_CLI_ARGS_destroy=TF_PARALLELISM
98-
97+
TF_CLI_ARGS_destroy=TF_PARALLELISM,
9998
)
10099
flags = []
101100
for k, v in docker_flags.items():

script.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@ def run_tasks(file_tasks: str, run_action: RunAction):
5555
DESTROY_SELF_HOSTED=lambda **i: run_action("runtime-destroy-action", **i),
5656
UNIFIED_IAC=lambda **i: run_action("runtime-unified-action", **i),
5757
UNIFIED_DEPLOY=lambda **i: run_action("runtime-unified-action", **i),
58-
UNIFIED_DESTROY=lambda **i: run_action("runtime-unified-action", **i)
58+
UNIFIED_DESTROY=lambda **i: run_action("runtime-unified-action", **i),
5959
)
6060

6161
for t in data.get("tasks") or []:
6262
task_type = t["taskType"]
6363
runner = task_runners.get(task_type)
6464
if "UNIFIED" in task_type:
65-
runner and runner(run_id=data.get("runId"))
65+
runner and runner(run_id=data.get("runId"))
6666
else:
6767
runner and runner(run_task_id=t["runTaskId"])
6868

0 commit comments

Comments
 (0)