Skip to content

Commit 2aecd6f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2daa8c7 commit 2aecd6f

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

pydra/engine/tests/test_shelltask.py

+8-5
Original file line numberDiff line numberDiff line change
@@ -2769,7 +2769,12 @@ def gather_output(field, output_dir):
27692769

27702770
my_output_spec = SpecInfo(
27712771
name="Output",
2772-
fields=[("newfile", attr.ib(type=MultiOutputFile, metadata={"callable": gather_output}))],
2772+
fields=[
2773+
(
2774+
"newfile",
2775+
attr.ib(type=MultiOutputFile, metadata={"callable": gather_output}),
2776+
)
2777+
],
27732778
bases=(ShellOutSpec,),
27742779
)
27752780
shelly = ShellCommandTask(
@@ -2785,8 +2790,7 @@ def gather_output(field, output_dir):
27852790
shelly.output_names
27862791
== shelly.generated_output_names
27872792
== ["return_code", "stdout", "stderr", "newfile"]
2788-
)
2789-
2793+
)
27902794

27912795

27922796
@pytest.mark.parametrize("results_function", [result_no_submitter, result_submitter])
@@ -3112,7 +3116,6 @@ def get_stderr(stderr):
31123116
shelly = ShellCommandTask(
31133117
name="shelly", executable=cmd, args=args, output_spec=my_output_spec
31143118
).split("args")
3115-
31163119

31173120
results = results_function(shelly, plugin)
31183121
for index, res in enumerate(results):
@@ -3249,7 +3252,7 @@ def get_lowest_directory(directory_path):
32493252
shelly.output_names
32503253
== shelly.generated_output_names
32513254
== ["return_code", "stdout", "stderr", "resultsDir"]
3252-
)
3255+
)
32533256
res = results_function(shelly, plugin)
32543257
print("Cache_dirr:", shelly.cache_dir)
32553258
assert (shelly.output_dir / Path("test")).exists() == True

0 commit comments

Comments
 (0)