Regression: Mypy integration highlights errors from other files when editing a Python file #9496
Labels
bug
Issue identified by VS Code Team member as probable bug
regression
Bug didn't exist in a previous release
Milestone
Environment data
"python.jediEnabled"
set to; more info How to update the language server to the latest stable version #3977): JEDIExpected behaviour
The Python code editor only highlights errors in the file in question.
Actual behaviour
The Python code editor wrongly highlights unrelated errors found in other files that Mypy checked.
Steps to reproduce:
This GIF shows the error at work (click on it to see better, Shift+Cmd+R to restart the animation). Things to notice:
To reproduce this yourself, clone aiotone and configure it.
Now, in VScode, you might need to let it know the location of your Python interpreter within your virtualenv. Then, open aiotone/midi.py and make the same mistake I did on line 39. Then, open aiotone/redblue.py and observe the Mypy error from midi.py appear on line 39 in redblue.py, too.
Observations
The text was updated successfully, but these errors were encountered: