Coverage for python/aubellhop/__init__.py: 100%
5 statements
« prev ^ index » next coverage.py v7.15.2, created at 2026-07-19 06:49 +0000
« prev ^ index » next coverage.py v7.15.2, created at 2026-07-19 06:49 +0000
2# Import everything to package level
4from . import main
6from importlib.metadata import version
7__version__ = version("aubellhop")
9__all__ = main.__all__
10globals().update({name: getattr(main, name) for name in __all__})
12# Was:
13# from .bellhop import *
14# but this approach keeps Ruff happy
15#
16# NB in main.py:
17#
18# __all__ = [
19# name for name in globals() if not name.startswith("_") # ignore private names
20# ]