Skip to content

Commit 50e0c81

Browse files
committed
fixing mypy errors
1 parent 2692a7a commit 50e0c81

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cwltool/builder.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ 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
61+
# type: (List[str]) -> Text
6262
build_job_script_method = getattr(self.job_script_provider, "build_job_script", None) # type: Callable[[Builder, List[bytes]], Text]
6363
if build_job_script_method:
6464
return build_job_script_method(self, commands)

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)