Skip to content

Commit

Permalink
Fix docs (formatting)
Browse files Browse the repository at this point in the history
  • Loading branch information
kinow committed Aug 19, 2022
1 parent d89fd84 commit 41905ae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 5 additions & 2 deletions cwltool/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,11 @@ def _fix_hints_and_requirements(
hints_or_requirements: List[CWLObjectType],
requirements_or_hints_to_evaluate: List[str],
) -> None:
"""Internal function to iterate the hints or requirements of steps
provided and evaluate the ones that exist in the parent process.
"""Fix hints and requirements of a workflow eagerly.
Internal function to iterate the hints or requirements
of steps provided and evaluate the ones that exist in
the parent process.
"""
for hint_or_requirement in hints_or_requirements:
for key, value in hint_or_requirement.items():
Expand Down
2 changes: 2 additions & 0 deletions tests/test_reqs_hints.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

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

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

0 comments on commit 41905ae

Please sign in to comment.