-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Invalid undefined variable errors (mypy not considering __all__?) #451
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
Comments
Yup, It should be pretty easy to implement, at least for simple cases which don't mutate Also, the stubs for Another issue is that importing the same name from multiple modules (e.g., directly from (Note also that |
Added issue #452 for the issue with |
Added issue #453 as a general fix to the problem with imports in stubs. |
Bumping priority because this is pretty annoying. |
Sample:
That gives:
Removing the top line solves the second error, but it obviously doesn't run under Python 3:
The text was updated successfully, but these errors were encountered: