Skip to content

Commit 879c254

Browse files
committed
Convert new type signature to multi-line variant.
Thanks to suggestion by @mr-c (#212 (review)).
1 parent 77520b6 commit 879c254

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

cwltool/job.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -331,16 +331,16 @@ def linkoutdir(src, tgt):
331331

332332

333333
def _job_popen(
334-
commands,
335-
stdin_path,
336-
stdout_path,
337-
stderr_path,
338-
env,
339-
cwd,
340-
job_dir=None,
341-
build_job_script=None,
334+
commands, # type: List[str]
335+
stdin_path, # type: Text
336+
stdout_path, # type: Text
337+
stderr_path, # type: Text
338+
env, # type: Union[MutableMapping[Text, Text], MutableMapping[str, str]]
339+
cwd, # type: Text
340+
job_dir=None, # type: Text
341+
build_job_script=None, # type: Callable[[List[str]], Text]
342342
):
343-
# type: (List[str], Text, Text, Text, Union[MutableMapping[Text, Text], MutableMapping[str, str]], Text, Text, Callable[[List[str]], Text]) -> int
343+
# type: (...) -> int
344344

345345
job_script_contents = None # type: Text
346346
if build_job_script:

0 commit comments

Comments
 (0)