summaryrefslogtreecommitdiff
path: root/coverage/types.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/types.py')
-rw-r--r--coverage/types.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/coverage/types.py b/coverage/types.py
index b7390962..6e69fc09 100644
--- a/coverage/types.py
+++ b/coverage/types.py
@@ -6,7 +6,10 @@ Types for use throughout coverage.py.
"""
from types import ModuleType
-from typing import Dict, Iterable, List, Optional, Sequence, Tuple, Union, TYPE_CHECKING
+from typing import (
+ Any, Dict, Iterable, List, Optional, Sequence, Tuple, Union,
+ TYPE_CHECKING,
+)
if TYPE_CHECKING:
# Protocol is new in 3.8. PYVERSIONS
@@ -15,6 +18,10 @@ else:
class Protocol: # pylint: disable=missing-class-docstring
pass
+# Many places use kwargs as Coverage kwargs.
+TCovKwargs = Any
+
+
## Configuration
# One value read from a config file.