Skip to content

Commit 2080652

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

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

pydra/engine/audit.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,12 @@ def audit_task(self, task):
186186
if command is not None:
187187
cmd_name = command.split()[0]
188188
software = f"{cmd_name} --version"
189-
# take the first word of command as the
190-
# name of the executable
189+
# take the first word of command as the
190+
# name of the executable
191191
# (this may not always be the case)
192-
version_cmd = sp.run(software, shell=True,
193-
stdout=sp.PIPE).stdout.decode("utf-8")
192+
version_cmd = sp.run(software, shell=True, stdout=sp.PIPE).stdout.decode(
193+
"utf-8"
194+
)
194195
try:
195196
version_cmd = version_cmd.splitlines()[0]
196197

0 commit comments

Comments
 (0)