Skip to content
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 5 commits into from Mar 22, 2021

Conversation

rlucas7
Copy link
Member

@rlucas7 rlucas7 commented Mar 22, 2021

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 in mypy.ini and remove the inline changes, or according to mypy docs we can use justthe inline ignore comments.

@WarrenWeckesser WarrenWeckesser added maintenance Items related to regular maintenance tasks scipy.special static typing Items related to static typing labels Mar 22, 2021
mypy.ini Outdated Show resolved Hide resolved
rlucas7 and others added 2 commits March 21, 2021 22:22
Co-authored-by: Tirth Patel <tirthasheshpatel@gmail.com>
Co-authored-by: Tirth Patel <tirthasheshpatel@gmail.com>
Copy link
Member

@tirthasheshpatel tirthasheshpatel left a 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

Copy link
Member

@rgommers rgommers left a 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 rgommers merged commit c1f85fb into scipy:master Mar 22, 2021
@rgommers rgommers changed the title Mypy cosine fix MAINT: add a type-ignore for mpmath (#13721) Mar 22, 2021
@rgommers rgommers added this to the 1.7.0 milestone 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants