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
MAINT: add a type-ignore for mpmath (#13721) #13721
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WarrenWeckesser
added
maintenance
Items related to regular maintenance tasks
scipy.special
static typing
Items related to static typing
labels
Mar 22, 2021
Co-authored-by: Tirth Patel <tirthasheshpatel@gmail.com>
Co-authored-by: Tirth Patel <tirthasheshpatel@gmail.com>
tirthasheshpatel
approved these changes
Mar 22, 2021
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.
CI green: Success: no issues found in 677 source files
rgommers
approved these changes
Mar 22, 2021
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.
LGTM, thanks @rlucas7
rgommers
changed the title
Mypy cosine fix
MAINT: add a type-ignore for mpmath (#13721)
Mar 22, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
maintenance
Items related to regular maintenance tasks
scipy.special
static typing
Items related to static typing
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reference issue
N/A
What does this implement/fix?
When I merged A gh-10170 there were some mypy typing changes (and a couple spaces I missed).
The mypy issue breaks the python3.9 CPython nightly build.
This changes here are based on discussions and related changes in
#13613 (comment)
Additional information
We may want to keep the
special
level ignore error inmypy.ini
and remove the inline changes, or according to mypy docs we can use justthe inline ignore comments.