From 2be37e3d695af882ccedd71168f82ffd12bca961 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 12 Jan 2023 21:01:14 -0500 Subject: mypy: turn on disallow_untyped_calls --- coverage/data.py | 1 + 1 file changed, 1 insertion(+) (limited to 'coverage/data.py') diff --git a/coverage/data.py b/coverage/data.py index ee4f007d..c737d593 100644 --- a/coverage/data.py +++ b/coverage/data.py @@ -35,6 +35,7 @@ def line_counts(data: CoverageData, fullpath: bool = False) -> Dict[str, int]: """ summ = {} + filename_fn: Callable[[str], str] if fullpath: # pylint: disable=unnecessary-lambda-assignment filename_fn = lambda f: f -- cgit v1.2.1