-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Exclude pylab from mypy checks #29267
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
Conversation
62cc501
to
181a5ea
Compare
pylab is already in the stubtest allowlist
I thought this would be simple but apparently I am out of my depth. |
The error is
😕 |
At least the mypy linting action is happy. That's half way 😄. Not an expert, but I would have tried to mess with this part as well: Lines 224 to 225 in f0ecacc
|
Success 🎉 |
@@ -1,7 +1,7 @@ | |||
# Non-typed (and private) modules/functions | |||
matplotlib\.backends\..* | |||
matplotlib\.tests(\..*)? | |||
matplotlib\.pylab\..* | |||
matplotlib\.pylab(\..*)? |
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.
Without this change, stubtest both complains that it can't find a stub for pylab and that the allowlist entry is unused. Removing the entry only solved the second complaint. It seemed intuitive to make this line look like the sphinxext
line.
…267-on-v3.10.x Backport PR #29267 on branch v3.10.x (Exclude pylab from mypy checks)
PR summary
Aiming to close #29263.
PR checklist