From 27990185352f035bafbb0cc7c8ac4159e87fe070 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 30 Dec 2022 07:05:42 -0500 Subject: mypy: inorout.py, disposition.py, and part of control.py --- coverage/types.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'coverage/types.py') diff --git a/coverage/types.py b/coverage/types.py index d138b2f2..b7390962 100644 --- a/coverage/types.py +++ b/coverage/types.py @@ -6,7 +6,7 @@ Types for use throughout coverage.py. """ from types import ModuleType -from typing import Dict, Iterable, List, Optional, Tuple, Union, TYPE_CHECKING +from typing import Dict, Iterable, List, Optional, Sequence, Tuple, Union, TYPE_CHECKING if TYPE_CHECKING: # Protocol is new in 3.8. PYVERSIONS @@ -74,3 +74,6 @@ class TDebugCtl(Protocol): def write(self, msg: str) -> None: """Write a line of debug output.""" + +# Data returned from sys_info() +TSysInfo = Sequence[Tuple[str, Union[str, Iterable[str]]]] -- cgit v1.2.1