Commit bfcd225
Fix MyPy linter message REGEX to handle any python extension (#2402)
Fixes #2380
The regex expression to match MyPy linter messages expects that the file name has a `.py` extension, that isn't always the case. E.g., `.pyi` files for describing interfaces.
- [X] Title summarizes what is changing
- [X] Includes a [news entry](https://github.com/Microsoft/vscode-python/tree/master/news) file (remember to thank yourself!)
- [X] Unit tests & [code coverage](https://codecov.io/gh/Microsoft/vscode-python) are not adversely affected (within reason)
- [X] Works on all [actively maintained versions of Python](https://devguide.python.org/#status-of-python-branches) (e.g. Python 2.7 & the latest Python 3 release)
- [X] Works on Windows 10, macOS, and Linux (e.g. considered file system case-sensitivity)
- [X] Dependencies are pinned (e.g. `"1.2.3"`, not `"^1.2.3"`)
- [X] `package-lock.json` has been regenerated if dependencies have changed1 parent a5997f7 commit bfcd225
2 files changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments