forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
area-lintingbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug
Description
Please note that this issue is based on a previous issue for the same problem: #9496
I've tried each version of the Python extension that was released after this original issue was fixed, and I see the error in each version.
Environment data
- VS Code version: 1.41.1
- Extension version (available under the Extensions sidebar): 2020.2.63072
- OS and version: Arch Linux
- Python version (& distribution if applicable, e.g. Anaconda): 3.8.1
- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
- Relevant/affected Python packages and their versions: mypy
- Jedi or Language Server? (i.e. what is
"python.jediEnabled"set to; more info How to update the language server to the latest stable version #3977): jedi - Value of the
python.languageServersetting: Microsoft
Expected 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:
See #9496
I am testing with mixology, which can be cloned from here: https://github.com/sdispater/mixology
I view the files mixology/partial_solution.py, mixology/version_solver.py, and mixology/package_source.py. There may be more.
Logs
##########Linting Output - mypy##########
mixology/package.py:17:5: error: Type signature has too few arguments
Found 1 error in 1 file (checked 1 source file)
plul, dknight10, sspross, sbdchd, sebastian-fredriksson-bernholtz and 1 more
Metadata
Metadata
Assignees
Labels
area-lintingbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug