Skip to content

Commit 15a7542

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 118b7cd commit 15a7542

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pydra/engine/tests/test_task.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,6 @@ def testfunc(a: int, b: float = 0.1) -> ty.NamedTuple("Output", [("out", float)]
10071007
funky.cache_dir = tmpdir
10081008
funky()
10091009
message_path = tmpdir / funky.checksum / "messages"
1010-
10111010

10121011
for file in glob(str(message_path) + "/*.jsonld"):
10131012
with open(file, "r") as f:
@@ -1067,6 +1066,7 @@ def test_audit_shellcommandtask_file(tmpdir):
10671066
# sourcery skip: use-fstring-for-concatenation
10681067
import glob
10691068
import shutil
1069+
10701070
# create test.txt file with "This is a test" in it in the tmpdir
10711071
# create txt file in cwd
10721072
with open("test.txt", "w") as f:
@@ -1075,7 +1075,6 @@ def test_audit_shellcommandtask_file(tmpdir):
10751075
# copy the test.txt file to the tmpdir
10761076
shutil.copy("test.txt", tmpdir)
10771077

1078-
10791078
cmd = "cat"
10801079
file_in = tmpdir / "test.txt"
10811080
test_file_hash = hash_file(file_in)
@@ -1117,7 +1116,8 @@ def test_audit_shellcommandtask_file(tmpdir):
11171116
assert data["AtLocation"] == str(file_in)
11181117
if "digest" in data:
11191118
assert data["digest"] == test_file_hash
1120-
1119+
1120+
11211121
def test_audit_shellcommandtask_version(tmpdir):
11221122
import subprocess as sp
11231123

0 commit comments

Comments
 (0)