Coverage for src/foapy/core/__init__.py: 85%
18 statements
« prev ^ index » next coverage.py v7.15.4, created at 2026-08-17 19:57 +0000
« prev ^ index » next coverage.py v7.15.4, created at 2026-08-17 19:57 +0000
1import sys
3# We first need to detect if we're being called as part of the numpy setup
4# procedure itself in a reliable manner.
5try:
6 __FOAPY_SETUP__
7except NameError:
8 __FOAPY_SETUP__ = False
10if __FOAPY_SETUP__: 10 ↛ 11line 10 didn't jump to line 11 because the condition on line 10 was never true
11 sys.stderr.write("Running from foapy.core source directory.\n")
12else:
13 # isort: off
14 from ._alphabet import alphabet # noqa: F401
15 from ._binding import binding # noqa: F401
16 from ._chain_mode import chain_mode # noqa: F401
17 from ._tuple_mode import tuple_mode # noqa: F401
18 from ._intervals_chain import intervals_chain # noqa: F401
19 from ._intervals_distribution import intervals_distribution # noqa: F401
20 from ._intervals_tuple import intervals_tuple # noqa: F401
21 from ._order import order # noqa: F401
23 # isort: on
25 __all__ = list(
26 {
27 "binding",
28 "chain_mode",
29 "tuple_mode",
30 "intervals_chain",
31 "intervals_distribution",
32 "intervals_tuple",
33 "order",
34 "alphabet",
35 }
36 )
38 def __dir__():
39 return __all__