Skip to content

Commit fdbd9af

Browse files
committed
fixing mypy errors
1 parent 2692a7a commit fdbd9af

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cwltool/builder.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ def __init__(self): # type: () -> None
5858
self.job_script_provider = None # type: Any
5959

6060
def build_job_script(self, commands):
61-
# type: (List[bytes]) -> Text
62-
build_job_script_method = getattr(self.job_script_provider, "build_job_script", None) # type: Callable[[Builder, List[bytes]], Text]
61+
# type: (List[str]) -> Text
62+
build_job_script_method = getattr(self.job_script_provider, "build_job_script", None) # type: Callable[[Builder, List[str]], Text]
6363
if build_job_script_method:
6464
return build_job_script_method(self, commands)
6565
else:

cwltool/job.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ def run(self, pull_image=True, rm_container=True,
419419

420420

421421
def _job_popen(
422-
commands, # type: List[bytes]
422+
commands, # type: List[str]
423423
stdin_path, # type: Text
424424
stdout_path, # type: Text
425425
stderr_path, # type: Text

0 commit comments

Comments
 (0)