We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af5b886 commit f12ee98Copy full SHA for f12ee98
colcon_core/subprocess.py
@@ -19,17 +19,15 @@
19
import sys
20
from typing import Callable
21
from typing import Mapping
22
+from typing import Optional
23
from typing import Sequence
-from typing import TypeVar
24
25
from colcon_core.logging import colcon_logger
26
27
SIGINT_RESULT = 'SIGINT'
28
29
logger = colcon_logger.getChild(__name__)
30
31
-UsePtyType = TypeVar('UsePtyType', None, bool)
32
-
33
34
def new_event_loop():
35
"""
@@ -52,7 +50,7 @@ async def run(
52
50
cwd: str = None,
53
51
env: Mapping[str, str] = None,
54
shell: bool = False,
55
- use_pty: UsePtyType = None
+ use_pty: Optional[bool] = None
56
) -> subprocess.CompletedProcess:
57
58
Run the command described by args.
0 commit comments