-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Do not type check modules that don't import typing #186
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
Also, modules that don't import Don't complain about missing modules/stubsJust define all names imported from unknown modules with implicit type import nonexistent
from nonexistent2 import x
# both nonexistent and x have type Any All variables have implicit type
|
This is probably not how PEP 484 does it, so we might not actually implement this. |
Closing this as not compliant with PEP 484. |
If a module does not import
typing
, it should not be type checked. Currently allmodules are type checked (except for dynamically typed functions).
The text was updated successfully, but these errors were encountered: