Skip to content

Commit

Permalink
refactor: namespace tidying
Browse files Browse the repository at this point in the history
Signed-off-by: nstarman <[email protected]>
  • Loading branch information
nstarman committed Jul 3, 2024
1 parent 93e2d20 commit 12f9d62
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 18 deletions.
15 changes: 1 addition & 14 deletions src/galax/dynamics/_dynamics/integrate/__init__.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
"""galax: Galactic Dynamix in Jax."""

from . import api, base, builtin, funcs
from .api import *
from .base import *
from .builtin import *
from .funcs import *
"""Integration routines."""

__all__: list[str] = []
__all__ += api.__all__
__all__ += base.__all__
__all__ += builtin.__all__
__all__ += funcs.__all__

# Cleanup
del api, base, builtin, funcs
14 changes: 10 additions & 4 deletions src/galax/dynamics/integrate.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
""":mod:`galax.dynamics.integrate`."""

from ._dynamics import integrate
from ._dynamics.integrate import * # noqa: F403
from ._dynamics.integrate import api, base, builtin, funcs
from ._dynamics.integrate.api import * # noqa: F403
from ._dynamics.integrate.base import * # noqa: F403
from ._dynamics.integrate.builtin import * # noqa: F403
from ._dynamics.integrate.funcs import * # noqa: F403

__all__: list[str] = []
__all__ += integrate.__all__
__all__ += api.__all__
__all__ += base.__all__
__all__ += builtin.__all__
__all__ += funcs.__all__

# Cleanup
del integrate
del api, base, builtin, funcs

0 comments on commit 12f9d62

Please sign in to comment.