Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cwltool/load_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def fetch_document(


def _convert_stdstreams_to_files(
workflowobj: Union[CWLObjectType, MutableSequence[Union[CWLObjectType, str, int]], str]
workflowobj: Union[CWLObjectType, MutableSequence[Union[CWLObjectType, str, int]], str],
) -> None:
if isinstance(workflowobj, MutableMapping):
if workflowobj.get("class") == "CommandLineTool":
Expand Down Expand Up @@ -219,7 +219,7 @@ def _convert_stdstreams_to_files(


def _add_blank_ids(
workflowobj: Union[CWLObjectType, MutableSequence[Union[CWLObjectType, str]]]
workflowobj: Union[CWLObjectType, MutableSequence[Union[CWLObjectType, str]]],
) -> None:
if isinstance(workflowobj, MutableMapping):
if (
Expand Down Expand Up @@ -247,7 +247,7 @@ def _add_blank_ids(


def _fast_parser_convert_stdstreams_to_files(
processobj: Union[cwl_v1_2.Process, MutableSequence[cwl_v1_2.Process]]
processobj: Union[cwl_v1_2.Process, MutableSequence[cwl_v1_2.Process]],
) -> None:
if isinstance(processobj, cwl_v1_2.CommandLineTool):
cwl_v1_2_utils.convert_stdstreams_to_files(processobj)
Expand Down
2 changes: 1 addition & 1 deletion cwltool/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def relocateOutputs(
return outputObj

def _collectDirEntries(
obj: Union[CWLObjectType, MutableSequence[CWLObjectType], None]
obj: Union[CWLObjectType, MutableSequence[CWLObjectType], None],
) -> Iterator[CWLObjectType]:
if isinstance(obj, dict):
if obj.get("class") in ("File", "Directory"):
Expand Down
2 changes: 1 addition & 1 deletion cwltool/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ def normalizeFilesDirs(
MutableMapping[str, Any],
DirectoryType,
]
]
],
) -> None:
def addLocation(d: dict[str, Any]) -> None:
if "location" not in d:
Expand Down
2 changes: 1 addition & 1 deletion lint-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
flake8-bugbear<24.13
black==24.*
black==25.*
codespell