Remove __version__ from __all__ in openml\__init__.py#903
Remove __version__ from __all__ in openml\__init__.py#903PGijsbers merged 4 commits intoopenml:developfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #903 +/- ##
==========================================
- Coverage 88.13% 88.03% -0.1%
==========================================
Files 37 37
Lines 4364 4364
==========================================
- Hits 3846 3842 -4
- Misses 518 522 +4
Continue to review full report at Codecov.
|
|
Edit: My bad! Looks like did not see the last commit you made to this PR. Seems like you figured it out. You can make flake8 ignore the unused import by adding an in-line comment old comment: The issue might have been too vague. The desired behavior is to be able to do this: import openml
print(openml.__version__) # 0.11.0devbut not this: from openml import *
__version__The latter currently works fine ( Using From my understanding this means the only change required would be to remove this line. But you would need to verify that. |
PGijsbers
left a comment
There was a problem hiding this comment.
Looks good to me! Thank you for your contribution 🎉
Thanks a lot for the review and suggestions! |
Reference Issue
Fix #871
What does this PR implement/fix? Explain your changes.
Remove 'version' from our all list in openml_init_.py
How should this PR be tested?
Any other comments?