Skip to content

Commit 5c0914b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 3f84156 commit 5c0914b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

pydra/engine/core.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -798,8 +798,8 @@ def _reset(self):
798798

799799

800800
def _sanitize_input_spec(
801-
input_spec: ty.Union[BaseSpec, ty.List[str]],
802-
wf_name: str,
801+
input_spec: ty.Union[BaseSpec, ty.List[str]],
802+
wf_name: str,
803803
) -> BaseSpec:
804804
"""Makes sure the provided input specifications are valid.
805805
@@ -831,9 +831,7 @@ def _sanitize_input_spec(
831831
return input_spec
832832
elif isinstance(input_spec, SpecInfo):
833833
if not any([x == BaseSpec for x in input_spec.bases]):
834-
raise ValueError(
835-
"Provided SpecInfo must have BaseSpec as it's base."
836-
)
834+
raise ValueError("Provided SpecInfo must have BaseSpec as it's base.")
837835
if "_graph_checksums" not in {f[0] for f in input_spec.fields}:
838836
input_spec.fields.insert(0, graph_checksum_input)
839837
return input_spec

0 commit comments

Comments
 (0)