blob: f4b9b1c481f0974b6fc59b515eda6d273dd1b8c1 [file] [edit]
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
# For details: https://github.com/coveragepy/coveragepy/blob/main/NOTICE.txt
"""A plugin for tests to reference."""
from __future__ import annotations
from typing import Any
from coverage import CoveragePlugin
from coverage.plugin_support import Plugins
class Plugin(CoveragePlugin):
pass
def coverage_init(
reg: Plugins,
options: Any, # pylint: disable=unused-argument
) -> None:
reg.add_file_tracer(Plugin())