-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Breaking] Split utils
into sub-modules, move typing
from utils
to top-level (pmv.typing
)
#248
Conversation
utils
into sub-modulesutils
into sub-modules
@janosh Any comment on current categorizing? 😄 |
from pymatviz.utils import ROOT | ||
|
||
|
||
TEST_FILES: str = f"{ROOT}/tests/files" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might seem a bit overkill, but I kind of want to reserve this for more test functions like #208
utils
into sub-modulesutils
into sub-modules
for more information, see https://pre-commit.ci
Only one task left, I would add a list of available function to the module level docstring of |
utils
into sub-modulesutils
into sub-modules, move typing
from utils
to root (pmv.typing
)
Thanks! I could sleep with my eyes close now :) |
thanks so much for your help with this! 🙏 |
No problem, enjoy your day (and my sleep), thanks for reviewing and all the comments |
Looks like the fix for |
utils
into sub-modules, move typing
from utils
to root (pmv.typing
)utils
into sub-modules, move typing
from utils
to top-level (pmv.typing
)
i added the expected time. it now prints
so at least it's not a massive regression. i'm guessing it's because i added some new modules in |
Thanks for adding this, I also added one in #241.
I just looked into the commit history and it appears I updated the import time in a6302f2 (I'm completely confused because I cannot remember I re-ran import time benchmark in this PR at all, I originally noticed that update and thought you updated the baseline because of some improvement you made and didn't have time to ask) I don't think this should be updated by me because I don't expect import time decrease from this PR, and by the time the import time tester was added, the In a word, I'm absolutely confused why I updated the import time baseline and where that data came from (as this cannot be "accidentally" updated because the import time test would print a copiable dict instead of overwriting in place), perhaps let's revert it? |
thanks for checking! i reverted to the old timings in bc1bc29 |
Thanks for the revert, though I'm still super confused how this happened and where the data came from ... |
Feel free to move things around.
__init__
to avoid breakingpmv.utils.testing