-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
--disallow-incomplete-defs not emitting any output #8917
Comments
Hi, if I run the code you gave it gives the expected:
Also the typeshed tests seem not to use |
I believe the issue is if you modify the typeshed's mypy_test to disallow incomplete defs, it doesn't seem to work. From Line 1050 in 273a865
--warn-incomplete-stub as well. This works for me locally; tkinter is pretty bad, but apart from that there are only about 60 errors in stdlib that apply to py3.
Also, it looks like |
Ah, thank you, that was what I was missing. And yes, the issue was with modifying the flags. Looking at the documentation, |
Reporting a bug
or a mock-up repro if the source is private. We would appreciate
if you try to simplify your case to a minimal repro.
The typeshed repo mypy_test. Minimal example:
Success: no issues found in 982 source files
A very large number of errors, I can see many instances in just one file
3.8, latest master
--python-version 3.8 --strict-optional --no-site-packages --show-traceback --no-implicit-optional --disallow-any-generics --disallow-subclassing-any --disallow-incomplete-defs
The text was updated successfully, but these errors were encountered: