Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
62cc501
to181a5ea
CompareUh oh!
There was an error while loading.Please reload this page.
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 inf0ecacc
|
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 thesphinxext
line.
35d470a
intomatplotlib:mainUh oh!
There was an error while loading.Please reload this page.
…267-on-v3.10.xBackport PR#29267 on branch v3.10.x (Exclude pylab from mypy checks)
PR summary
Aiming toclose#29263.
PR checklist