-
Notifications
You must be signed in to change notification settings - Fork 54
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
Reorganization of internal utilities and adding type hints for internal utils #341
Reorganization of internal utilities and adding type hints for internal utils #341
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## RC_v1.5.x #341 +/- ##
=============================================
+ Coverage 56.35% 56.55% +0.20%
=============================================
Files 16 19 +3
Lines 3384 3416 +32
=============================================
+ Hits 1907 1932 +25
- Misses 1477 1484 +7
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
Looks like the readthedocs build is failing due to using |
I was already using I'm not entirely sure why readthedocs required me to update the |
Oh, I see the issue now. It's not in our code, but in sphinx. python 3.10 moved |
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.
having utils.general and utils.internal.general_internal is a little confusing, but I can't think of anything better to call it...
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.
Maybe utils.internal.basic
or utils.internal.basic
?
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.
Agreed. I've renamed this now.
@JuliaKukulies @w-k-jones I've renamed |
Perfect, happy for this to be merged! |
As part of my proposed efforts to add in type hints as a step toward xarray support (see my comment here: #143 (comment)), I've gone through and added type hints to the internal utility functions.
I've also gone through and reorganized/cleaned up the internal utilities, breaking them into multiple different files, including specifically breaking off the Iris utilities into their own file for future deprecation/removal.
Holding as a draft until 1.5.1 is released.