-
Notifications
You must be signed in to change notification settings - Fork 26
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
Not all type issues show up in integrated problem window #273
Comments
@bverhoeve Check the logs and see what is being reported. Output > Mypy Type Checker is where you can see it. If you see it is using If something is reported by |
I've fixed the issues in the meantime, I'll see if I can reproduce the problem. The output is from a closed source codebase though so I'll have to see what I can share. |
Try using |
This was the type error that was not shown in problems:
We're using local |
@bverhoeve Please try the pre-release version of the extension. This is actually a bug in |
Okay, good to know! Thanks for investigating 🙏 |
@karthiknadig out of curiosity I also tried this with |
@bverhoeve This repo is for the VS Code extension, all we do in this extension is wrap the All we do in this extension is run |
The typing issues do show up in the |
Can you share some of the output? I want to make sure that this is getting parsed correctly. |
Hi @karthiknadig, this is some sample output:
|
@karthiknadig were you able to check the output? |
@bverhoeve These are all parsed by the pre-release version of mypy extension. Was there one you could not see in the problems window. |
I'll check with the pre-release :) |
There are more outputs that cannot be parsed...
|
Hi, we are using the mypy type checker plugin as the old Python plugin no longer works with newer versions of VSCode. We're noticing that quite a few problems reported by mypy are not being captured in the integrated problems window. When I check the mypy Output window, there are a lot of issues reported, also when running via the CLI. These do not show up in the problem output.
Trivial typing issues such as
a: int = 'a string'
get parsed correctly and show up in the problems window. We are using mypy version 1.7.1.I'd expect all errors to be reported in the problems window.
The text was updated successfully, but these errors were encountered: