Skip to content

Commit c90b15e

Browse files
[Automated Commit] Format Codebase [skip ci]
1 parent 345b134 commit c90b15e

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

automation/script/docker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def dockerfile(self_module, input_params):
155155
'action': 'run', 'automation': 'script', 'tags': 'build,dockerfile',
156156
'fake_run_option': " " if docker_inputs.get('real_run') else " --fake_run",
157157
'comments': comments, 'run_cmd': f"{run_command_string} --quiet",
158-
'script_tags': input_params.get('tags'),
158+
'script_tags': input_params.get('tags'),
159159
'env': env,
160160
'state': state,
161161
'quiet': True, 'real_run': True

automation/script/module.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ def _run(self, i):
368368
'add_deps_recursive', {}), 'append_lists': True, 'append_unique': True})
369369

370370
env = self.env
371-
371+
372372
state = self.state
373373
const = self.const
374374
const_state = self.const_state
@@ -690,7 +690,7 @@ def _run(self, i):
690690
# IT HAS THE PRIORITY OVER meta['default_env'] and meta['env'] but not over the meta from versions/variations
691691
# (env OVERWRITE - user enforces it from CLI)
692692
# (it becomes const)
693-
693+
694694
if input_mapping:
695695
update_env_from_input_mapping(
696696
env, i, input_mapping, input_description)
@@ -717,7 +717,6 @@ def _run(self, i):
717717
i)
718718
if r['return'] > 0:
719719
return r
720-
721720

722721
# taking from meta or else deps with same names will be ignored
723722
run_state['deps'] = meta.get('deps', [])

script/build-dockerfile/customize.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,6 @@ def preprocess(i):
302302
docker_env_key + "=" + \
303303
str(dockerfile_env[docker_env_key]).replace("\n", "\\n")
304304

305-
306305
workdir = env.get('WORKDIR', '')
307306
if workdir == '':
308307
workdir = f"""/home/{docker_user}"""

0 commit comments

Comments
 (0)