Coverage for coverage_sh/__init__.py: 100%

7 statements  

« prev     ^ index     » next       coverage.py v7.3.3, created at 2024-01-02 20:32 +0100

1# SPDX-License-Identifier: MIT 

2# Copyright (c) 2023 Kilian Lackhove 

3 

4from __future__ import annotations 

5 

6from typing import Any 

7 

8from .plugin import ShellPlugin 

9 

10 

11def coverage_init(reg, options: dict[str, Any]) -> None: 

12 shell_plugin = ShellPlugin(options) 

13 reg.add_file_tracer(shell_plugin) 

14 reg.add_configurer(shell_plugin)