Skip to content

Commit 457e99a

Browse files
committed
Appease mypy
1 parent 9928ef9 commit 457e99a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coverage_pyver_pragma/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ def evaluate_exclude(expression: str) -> bool:
7474

7575
class PythonParser(coverage.python.PythonParser):
7676

77+
@functools.lru_cache()
7778
def lines_matching(self, *regexes) -> Set[int]: # pragma: no cover (py311+) # TODO: why?
7879

7980
combined = join_regex([*regexes, *DEFAULT_EXCLUDE])

0 commit comments

Comments
 (0)