Skip to content

Commit 70ba5f4

Browse files
altairweimr-c
authored andcommitted
fix function missing return type
1 parent c8f2a1e commit 70ba5f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cwl_utils/graph_split.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,12 +207,12 @@ def seen_import(entry: MutableMapping[str, Any]) -> bool:
207207
return seen_imports
208208

209209

210-
def json_dump(entry: Any, output_file: str):
210+
def json_dump(entry: Any, output_file: str) -> None:
211211
with open(output_file, "w", encoding="utf-8") as result_handle:
212212
json.dump(entry, result_handle, indent=4)
213213

214214

215-
def yaml_dump(entry: Any, output_file: str):
215+
def yaml_dump(entry: Any, output_file: str) -> None:
216216
with open(output_file, "w", encoding="utf-8") as result_handle:
217217
result_handle.write(stringify_dict(entry))
218218

0 commit comments

Comments
 (0)