From 09f9188e826f900198d638ee3c42b27bca29597d Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 31 Dec 2022 22:08:25 -0500 Subject: mypy: add env.py --- coverage/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'coverage/plugin.py') diff --git a/coverage/plugin.py b/coverage/plugin.py index af586ec2..4a7fc235 100644 --- a/coverage/plugin.py +++ b/coverage/plugin.py @@ -121,7 +121,7 @@ from typing import Any, Dict, Iterable, Optional, Set, Tuple, Union from coverage import files from coverage.misc import _needs_to_implement -from coverage.types import TArc, TConfigurable, TLineNo, TSourceTokenLines, TSysInfo +from coverage.types import TArc, TConfigurable, TLineNo, TSourceTokenLines class CoveragePlugin: @@ -235,7 +235,7 @@ class CoveragePlugin: """ pass - def sys_info(self) -> TSysInfo: + def sys_info(self) -> Iterable[Tuple[str, Any]]: """Get a list of information useful for debugging. Plug-in type: any. -- cgit v1.2.1