Skip to content

Commit bf635e1

Browse files
committed
lint errors
1 parent c2a58ea commit bf635e1

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Python/Batch/sample1_jobprep_and_release.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,18 +73,21 @@ def submit_job_with_prep_and_release_tasks(
7373

7474
job = batchmodels.JobAddParameter(id=job_id, pool_info=pool_info)
7575

76-
job.job_preparation_task = batchmodels.JobPreparationTask(command_line=common.helpers.wrap_commands_in_shell(
76+
job.job_preparation_task = batchmodels.JobPreparationTask(
77+
command_line=common.helpers.wrap_commands_in_shell(
7778
'linux', ['echo job preparation task!']))
78-
79-
job.job_release_task = batchmodels.JobReleaseTask(command_line=common.helpers.wrap_commands_in_shell(
79+
80+
job.job_release_task = batchmodels.JobReleaseTask(
81+
command_line=common.helpers.wrap_commands_in_shell(
8082
'linux', ['echo job release task!']))
8183

8284
batch_client.job.add(job)
8385

8486
task = batchmodels.TaskAddParameter(
8587
id="JobPrepAndRelease",
8688
command_line=common.helpers.wrap_commands_in_shell(
87-
'linux', ['echo Hello world from the Batch Job prep and release sample!'])
89+
'linux',
90+
['echo Hello world from the Batch Job prep and release sample!'])
8891
)
8992

9093
batch_client.task.add(job_id=job.id, task=task)

0 commit comments

Comments
 (0)