blob: 2122e869f31b2653b134090dd2bad4c6eae9f6dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
"""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())
|