-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
stop pruning datatree_ directory from distribution #8953
stop pruning datatree_ directory from distribution #8953
Conversation
Quick fixup of some typing. Removes mypy exclusions for datatree_
771a8d5
to
84d23be
Compare
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.
looks fine to me. Just a comment: we probably don't want to include anything other than xarray.datatree_.datatree
. I've suggested a change (which I didn't verify) which would only take the old datatree python code.
(note that these are merely suggestions to keep the wheels / source dists as small as possible, so if you have reason against them I'm fine with dropping them)
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.
I think these changes look good to me - I like the suggestion to only include datatree_/datatree
directory with the code in it.
exclude docs from mypy tests Co-authored-by: Justus Magin <keewis@users.noreply.github.com>
try again to include just code from datatree_ Co-authored-by: Justus Magin <keewis@users.noreply.github.com>
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.
looks good to me, as well, now.
This PR removes the directive that strips out the datatree_ directory from the xarray distribution.
It also cleans a few typing errors and removes exceptions for the datatree_ directory for mypy.
It does NOT remove the exception for pre-commit config.
xarray/datatree_
missing in 2024.2.0 sdist #8768