Skip to content

Make mypy a bit stricter #27796

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

Merged
merged 4 commits into from
Feb 16, 2024
Merged

Make mypy a bit stricter #27796

merged 4 commits into from
Feb 16, 2024

Conversation

QuLogic
Copy link
Member

@QuLogic QuLogic commented Feb 16, 2024

PR summary

This follows some suggestions from Scientific Python's Repo-Review (I don't agree with everything there, but at least the MyPy stuff seems fine), and also moves config from the CI to pyproject.toml for re-use/visibility.

PR checklist

And also fix some types to fix those warnings.
Instead of putting them in CI, so that one can run `mypy` by itself and
not have to remember the flags to match CI.
@timhoffm timhoffm merged commit 810a43b into matplotlib:main Feb 16, 2024
@QuLogic QuLogic deleted the stricter-mypy branch February 16, 2024 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants