Skip to content

Commit 41905ae

Browse files
committed
Fix docs (formatting)
1 parent d89fd84 commit 41905ae

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

cwltool/workflow.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,11 @@ def _fix_hints_and_requirements(
182182
hints_or_requirements: List[CWLObjectType],
183183
requirements_or_hints_to_evaluate: List[str],
184184
) -> None:
185-
"""Internal function to iterate the hints or requirements of steps
186-
provided and evaluate the ones that exist in the parent process.
185+
"""Fix hints and requirements of a workflow eagerly.
186+
187+
Internal function to iterate the hints or requirements
188+
of steps provided and evaluate the ones that exist in
189+
the parent process.
187190
"""
188191
for hint_or_requirement in hints_or_requirements:
189192
for key, value in hint_or_requirement.items():

tests/test_reqs_hints.py

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
def test_workflow_reqs_are_evaluated_eagerly_default_args() -> None:
1010
"""Test that a Workflow process will evaluate the requirements eagerly.
11+
1112
Uses the default input values.
1213
1314
This means that workflow steps, such as Expression and Command Line Tools
@@ -33,6 +34,7 @@ def test_workflow_reqs_are_evaluated_eagerly_default_args() -> None:
3334

3435
def test_workflow_reqs_are_evaluated_eagerly_provided_inputs() -> None:
3536
"""Test that a Workflow process will evaluate the requirements eagerly.
37+
3638
Passes inputs via a job file.
3739
3840
This means that workflow steps, such as Expression and Command Line Tools

0 commit comments

Comments
 (0)