microsoft / microsoft/vscode-mypy
The problem found by mypy do not shown in PROBLEMS
- Dominant language
- Python
- Stars
- 150
- Forks
- 39
- Avg merge
- 21h 45m
- Merged PRs (30d)
- 8
Description
In OUTPUT-Mypy Type Checker I can see mypy really runs and finds some problem in my file, but there are not shown in PROBLEMS
The OUTPUT-Mypy Type Checker ouput:
```
2023-11-02 13:15:50.666 [info] file://path/to/file//ks.py :
path/to/file//x_xerr.py:5:1:5:1: error: Library stubs not installed for "pandas" [import-untyped]
path/to/file//x_xerr.py:5:1:5:1: note: Hint: "python3 -m pip install pandas-stubs"
path/to/file//x_xerr.py:5:1:5:1: note: (or run "mypy --install-types" to install all missing stub packages)
path/to/file//x_xerr.py:6:1:6:1: error: Skipping analyzing "optax": module is installed, but missing library stubs or py.typed marker [import-untyped]
path/to/file//x_xerr.py:7:1:7:1: error: Skipping analyzing "pzflow": module is installed, but missing library stubs or py.typed marker [import-untyped]
path/to/file//reg.py:2:1:2:1: error: Skipping analyzing "scipy.spatial": module is installed, but missing library stubs or py.typed marker [import-untyped]
path/to/file//ks.py:2:1:2:1: error: Skipping analyzing "utilize.ndtest": module is installed, but missing library stubs or py.typed marker [import-untyped]
path/to/file//ks.py:2:1:2:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
path/to/file//ks.py:3:1:3:1: error: Skipping analyzing "utilize.Bcorner": module is installed, but missing library stubs or py.typed marker [import-untyped]
path/to/file//ks.py:5:1:5:1: error: Skipping analyzing ".grid_search": module is installed, but missing library stubs or py.typed marker [import-untyped]
path/to/file//ks.py:94:1:94:16: error: Missing positional arguments "arg0", "arg1" in call to "print_mean_std" [call-arg]
```
When I set Reporting Scope as workspace, it actually show all problems in PROBLEMS, but when I click the problem, it open a new file named `path/to/file/ks.py` but not jump to the corresponding line in current opened file (`ks.py`). Actually, `path/to/file/ks.py` and `ks.py` are same file.

If this behavior is by design, how could I set the extention to make it as previous. By "previous", I mean when we use
```json
{
"python.linting.mypyEnabled": true,
"python.linting.enabled": true
}
```
to use mypy. In that time, all found problems will be shown in PROBLEMS, when I click the reported preblems, it just jump to the corresponding line in current file.
Contributor guide
Assessment
This issue has not been assessed yet.