Skip to content

Commit 8b48fae

Browse files
kapilkd13manu-chroma
authored andcommitted
fixing mypy errors
1 parent f802e0d commit 8b48fae

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cwltool/builder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ def __init__(self): # type: () -> None
6262
self.job_script_provider = None # type: Any
6363

6464
def build_job_script(self, commands):
65-
# type: (List[bytes]) -> Text
66-
build_job_script_method = getattr(self.job_script_provider, "build_job_script", None) # type: Callable[[Builder, List[bytes]], Text]
65+
# type: (List[str]) -> Text
66+
build_job_script_method = getattr(self.job_script_provider, "build_job_script", None) # type: Callable[[Builder, List[str]], Text]
6767
if build_job_script_method:
6868
return build_job_script_method(self, commands)
6969
else:

cwltool/job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ def run(self, pull_image=True, rm_container=True,
424424

425425

426426
def _job_popen(
427-
commands, # type: List[bytes]
427+
commands, # type: List[str]
428428
stdin_path, # type: Text
429429
stdout_path, # type: Text
430430
stderr_path, # type: Text

0 commit comments

Comments
 (0)