Coverage for coverage / __init__.py: 100.000%
7 statements
« prev ^ index » next coverage.py v7.12.1a0.dev1, created at 2025-11-30 17:57 +0000
« prev ^ index » next coverage.py v7.12.1a0.dev1, created at 2025-11-30 17:57 +0000
1# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
2# For details: https://github.com/coveragepy/coveragepy/blob/main/NOTICE.txt
4"""
5Code coverage measurement for Python.
7Ned Batchelder
8https://coverage.readthedocs.io
10"""
12from __future__ import annotations 1abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!#$%'()
14# mypy's convention is that "import as" names are public from the module.
15# We import names as themselves to indicate that. Pylint sees it as pointless,
16# so disable its warning.
17# pylint: disable=useless-import-alias
19from coverage.version import ( 1abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!#$%'()
20 __version__ as __version__,
21 version_info as version_info,
22)
24from coverage.control import ( 1abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!#$%'()
25 Coverage as Coverage,
26 process_startup as process_startup,
27)
28from coverage.data import CoverageData as CoverageData 1abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!#$%'()
29from coverage.exceptions import CoverageException as CoverageException 1abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!#$%'()
30from coverage.plugin import ( 1abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!#$%'()
31 CodeRegion as CodeRegion,
32 CoveragePlugin as CoveragePlugin,
33 FileReporter as FileReporter,
34 FileTracer as FileTracer,
35)
37# Backward compatibility.
38coverage = Coverage 1abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!#$%'()