diff --git a/my/cfg.py b/my/cfg.py index da1a83e..97268da 100644 --- a/my/cfg.py +++ b/my/cfg.py @@ -12,15 +12,12 @@ After that, you can set config attributes: export_path='/path/to/twitter/exports', ) """ -# TODO later, If I have config stubs that might be unnecessary too.. - -from . import init # todo not sure if this line is necessary? the stub will trigger it anyway - +# todo why do we bring this into scope? don't remember.. import my.config as config def set_repo(name: str, repo): - from .init import assign_module + from .core.init import assign_module from . common import import_from module = import_from(repo, name) diff --git a/my/config/__init__.py b/my/config/__init__.py index da9d781..333ae6e 100644 --- a/my/config/__init__.py +++ b/my/config/__init__.py @@ -1,5 +1,5 @@ # TODO ok, this thing should trigger .cfg import presumably?? -from .. import init +from ..core import init # TODO maybe, reuse mycfg_template here? diff --git a/my/init.py b/my/core/init.py similarity index 100% rename from my/init.py rename to my/core/init.py