libpysal
libpysal copied to clipboard
migrate away from star import for explicit ones
xref: https://github.com/pysal/libpysal/pull/597#discussion_r1368292698
Migrate away from star import for explicit ones. Once complete we can remove "F403", # star import; unable to detect undefined names in pyproject.toml.
Ideally, instead of from .alpha_shapes import * we should do import alpha_shapes and then use alpha_shapes.function in the code. That way we minimise ambiguity of what comes from where.
In __init__.py, we could potentially leave stars but I bet there are other, better solutions than that.
Agreed.