Skip to content

Commit 441823f

Browse files
committed
fix: two typing tweaks
1 parent 1310604 commit 441823f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

coverage/sqldata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ def touch_file(self, filename: str, plugin_name: str = "") -> None:
596596
"""
597597
self.touch_files([filename], plugin_name)
598598

599-
def touch_files(self, filenames: Iterable[str], plugin_name: Optional[str] = None) -> None:
599+
def touch_files(self, filenames: Collection[str], plugin_name: Optional[str] = None) -> None:
600600
"""Ensure that `filenames` appear in the data, empty if needed.
601601
602602
`plugin_name` is the name of the plugin responsible for these files.

doc/excluding.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ For example, here's a list of exclusions I've used::
9595
raise NotImplementedError
9696
if 0:
9797
if __name__ == .__main__.:
98+
if TYPE_CHECKING:
9899
class .*\bProtocol\):
99100
@(abc\.)?abstractmethod
100101

0 commit comments

Comments
 (0)