Coverage for coverage_sh/__init__.py: 57%
7 statements
« prev ^ index » next coverage.py v7.4.0, created at 2024-02-01 21:05 +0100
« prev ^ index » next coverage.py v7.4.0, created at 2024-02-01 21:05 +0100
1# SPDX-License-Identifier: MIT
2# Copyright (c) 2023 Kilian Lackhove
4from __future__ import annotations
6from typing import Any
8from .plugin import ShellPlugin
11def coverage_init(reg, options: dict[str, Any]) -> None: # noqa: ANN001
12 shell_plugin = ShellPlugin(options)
13 reg.add_file_tracer(shell_plugin)
14 reg.add_configurer(shell_plugin)