Since the code within the hubcap repo isn't meant to be published as a package and it doesn't have any instances of from {module} import *, we can remove instances of __all__.
If you have __all__ in a Python module, then from {module} import * will import everything listed in __all__. Otherwise, it will import everything that does not start with an underscore.
Proposal
Since the code within the hubcap repo isn't meant to be published as a package and it doesn't have any instances of
from {module} import *
, we can remove instances of__all__
.TL;DR for
__all__
__all__
in a Python module, thenfrom {module} import *
will import everything listed in__all__
. Otherwise, it will import everything that does not start with an underscore.