diff options
-rw-r--r-- | coverage/sqldata.py | 2 | ||||
-rw-r--r-- | doc/excluding.rst | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/coverage/sqldata.py b/coverage/sqldata.py index 1cb8abe4..77577437 100644 --- a/coverage/sqldata.py +++ b/coverage/sqldata.py @@ -596,7 +596,7 @@ class CoverageData(AutoReprMixin): """ self.touch_files([filename], plugin_name) - def touch_files(self, filenames: Iterable[str], plugin_name: Optional[str] = None) -> None: + def touch_files(self, filenames: Collection[str], plugin_name: Optional[str] = None) -> None: """Ensure that `filenames` appear in the data, empty if needed. `plugin_name` is the name of the plugin responsible for these files. diff --git a/doc/excluding.rst b/doc/excluding.rst index aa6c6298..315d4e29 100644 --- a/doc/excluding.rst +++ b/doc/excluding.rst @@ -95,6 +95,7 @@ For example, here's a list of exclusions I've used:: raise NotImplementedError if 0: if __name__ == .__main__.: + if TYPE_CHECKING: class .*\bProtocol\): @(abc\.)?abstractmethod |