File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 20
20
from .secrets import SecretStore
21
21
from .utils import docker_windows_path_adjust , onWindows
22
22
if os .name == 'posix' and sys .version_info [0 ] < 3 :
23
- import subprocess32 as subprocess # pylint: disable=import-error
23
+ import subprocess32 as subprocess # type: ignore
24
24
else :
25
- import subprocess
25
+ import subprocess # type: ignore
26
26
27
27
_logger = logging .getLogger ("cwltool" )
28
28
Original file line number Diff line number Diff line change 4
4
import sys
5
5
from typing import List , Text , Tuple
6
6
if os .name == 'posix' and sys .version_info [0 ] < 3 :
7
- import subprocess32 as subprocess # pylint: disable=import-error
7
+ import subprocess32 as subprocess # type: ignore
8
8
else :
9
- import subprocess
9
+ import subprocess # type: ignore
10
10
11
11
12
12
def docker_vm_id (): # type: () -> Tuple[int, int]
Original file line number Diff line number Diff line change 28
28
from .utils import bytes2str_in_dicts
29
29
from .utils import copytree_with_merge , onWindows
30
30
if os .name == 'posix' and sys .version_info [0 ] < 3 :
31
- import subprocess32 as subprocess # pylint: disable=import-error
31
+ import subprocess32 as subprocess # type: ignore
32
32
else :
33
- import subprocess
33
+ import subprocess # type: ignore
34
34
35
35
36
36
_logger = logging .getLogger ("cwltool" )
Original file line number Diff line number Diff line change 18
18
except ImportError :
19
19
import Queue as queue # type: ignore
20
20
if os .name == 'posix' and sys .version_info [0 ] < 3 :
21
- import subprocess32 as subprocess # pylint: disable=import-error
21
+ import subprocess32 as subprocess # type: ignore
22
22
else :
23
- import subprocess
23
+ import subprocess # type: ignore
24
24
25
25
26
26
class JavascriptException (Exception ):
Original file line number Diff line number Diff line change 13
13
from .process import (UnsupportedRequirement )
14
14
from .utils import docker_windows_path_adjust
15
15
if os .name == 'posix' and sys .version_info [0 ] < 3 :
16
- import subprocess32 as subprocess # pylint: disable=import-error
16
+ import subprocess32 as subprocess # type: ignore
17
17
else :
18
- import subprocess
18
+ import subprocess # type: ignore
19
19
20
20
_logger = logging .getLogger ("cwltool" )
21
21
_USERNS = None
You can’t perform that action at this time.
0 commit comments