[x] I have added documentation regarding my changes where necessary
[x] Any pre-existing tests continue to pass
[x] Additional tests were made covering my changes
Types of Changes
[x] Bugfix (change that fixes an issue)
[ ] New Feature (change that adds functionality)
[x] Documentation Update (if none of the other choices apply)
Proposed Changes
Add documentation to help a new hab developer configure their testing environment.
Fix error if using from hab import *. Recent updates removed the imports of objects that were still being added to __all__ that caused an error. We use __all__ to prevent needing to add # noqa: F822 to each "unused" import exposed on hab. Adds a test to check for this issue.
If you try to use hab dump - and haven't already stored a URI as a user preference, it would not save the new user preference. You had to call hab set-uri ... at least once for hab to remember your previous URI. This is now fixed.
Checklist
Types of Changes
Proposed Changes
from hab import *
. Recent updates removed the imports of objects that were still being added to__all__
that caused an error. We use__all__
to prevent needing to add# noqa: F822
to each "unused" import exposed onhab
. Adds a test to check for this issue.hab dump -
and haven't already stored a URI as a user preference, it would not save the new user preference. You had to callhab set-uri ...
at least once for hab to remember your previous URI. This is now fixed.