-
Notifications
You must be signed in to change notification settings - Fork 83
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
feat: Enable typehints in pre-commit and add typehints to readxml #1934
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1934 +/- ##
==========================================
+ Coverage 98.19% 98.22% +0.03%
==========================================
Files 68 69 +1
Lines 4365 4441 +76
Branches 734 749 +15
==========================================
+ Hits 4286 4362 +76
Misses 46 46
Partials 33 33
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
d65f7e9
to
190cc56
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.
Thanks for this nice work moving us towards typehints @kratsg! This looks good overall, I just have a few questions on pre-commit
and then some suggestions (that can be ignored it you don't like them) that are simply reordering of imports to mitigate the amount of noise if we eventually turn on isort
in pre-commit
.
Co-authored-by: Matthew Feickert <[email protected]>
Co-authored-by: Matthew Feickert <[email protected]>
Co-authored-by: Matthew Feickert <[email protected]>
Co-authored-by: Matthew Feickert <[email protected]>
* Set the lower bound of the supported typing_extensions versions to v3.7.4 as TypedDict was added in v3.7.4. > The typing_extensions module contains both backports of these changes as > well as experimental types that will eventually be added to the typing module, > such as Protocol or TypedDict. - c.f. https://pypi.org/project/typing-extensions/3.7.4/ - Amends PR #1934 * Add typing-extensions==3.7.4 to tests/constraints.txt.
Description
This will need to be rebased again on top of
master
once #1909 is merged in.Checklist Before Requesting Reviewer
Before Merging
For the PR Assignees: