Skip to content

Commit 85976ec

Browse files
committed
black 2025 reformat
1 parent dfa1dd0 commit 85976ec

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

cwltool/load_tool.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def fetch_document(
142142

143143

144144
def _convert_stdstreams_to_files(
145-
workflowobj: Union[CWLObjectType, MutableSequence[Union[CWLObjectType, str, int]], str]
145+
workflowobj: Union[CWLObjectType, MutableSequence[Union[CWLObjectType, str, int]], str],
146146
) -> None:
147147
if isinstance(workflowobj, MutableMapping):
148148
if workflowobj.get("class") == "CommandLineTool":
@@ -219,7 +219,7 @@ def _convert_stdstreams_to_files(
219219

220220

221221
def _add_blank_ids(
222-
workflowobj: Union[CWLObjectType, MutableSequence[Union[CWLObjectType, str]]]
222+
workflowobj: Union[CWLObjectType, MutableSequence[Union[CWLObjectType, str]]],
223223
) -> None:
224224
if isinstance(workflowobj, MutableMapping):
225225
if (
@@ -247,7 +247,7 @@ def _add_blank_ids(
247247

248248

249249
def _fast_parser_convert_stdstreams_to_files(
250-
processobj: Union[cwl_v1_2.Process, MutableSequence[cwl_v1_2.Process]]
250+
processobj: Union[cwl_v1_2.Process, MutableSequence[cwl_v1_2.Process]],
251251
) -> None:
252252
if isinstance(processobj, cwl_v1_2.CommandLineTool):
253253
cwl_v1_2_utils.convert_stdstreams_to_files(processobj)

cwltool/process.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def relocateOutputs(
305305
return outputObj
306306

307307
def _collectDirEntries(
308-
obj: Union[CWLObjectType, MutableSequence[CWLObjectType], None]
308+
obj: Union[CWLObjectType, MutableSequence[CWLObjectType], None],
309309
) -> Iterator[CWLObjectType]:
310310
if isinstance(obj, dict):
311311
if obj.get("class") in ("File", "Directory"):

cwltool/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ def normalizeFilesDirs(
398398
MutableMapping[str, Any],
399399
DirectoryType,
400400
]
401-
]
401+
],
402402
) -> None:
403403
def addLocation(d: dict[str, Any]) -> None:
404404
if "location" not in d:

0 commit comments

Comments
 (0)