Title: Mypy linting not working for mypy 0.990 - no issues found · Issue #20182 · microsoft/vscode-python · GitHub
Open Graph Title: Mypy linting not working for mypy 0.990 - no issues found · Issue #20182 · microsoft/vscode-python
X Title: Mypy linting not working for mypy 0.990 - no issues found · Issue #20182 · microsoft/vscode-python
Description: Type: Bug Behaviour Expected vs. Actual Expected: mypy errors are found. Actual: mypy reports no errors. Steps to reproduce: Introduce a deliberate type error Run mypy
Open Graph Description: Type: Bug Behaviour Expected vs. Actual Expected: mypy errors are found. Actual: mypy reports no errors. Steps to reproduce: Introduce a deliberate type error Run mypy
X Description: Type: Bug Behaviour Expected vs. Actual Expected: mypy errors are found. Actual: mypy reports no errors. Steps to reproduce: Introduce a deliberate type error Run mypy <filepath> on the comma...
Opengraph URL: https://github.com/microsoft/vscode-python/issues/20182
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Mypy linting not working for mypy 0.990 - no issues found","articleBody":"Type: \u003cb>Bug\u003c/b>\r\n\r\n\u003c!-- Please fill in all XXX markers -->\r\n# Behaviour\r\n## Expected vs. Actual\r\n\r\nExpected: mypy errors are found.\r\n\r\nActual: mypy reports no errors.\r\n\r\n## Steps to reproduce:\r\n\r\n1. Introduce a deliberate type error\r\n2. Run `mypy \u003cfilepath>` on the command line to confirm that the problem is genuine\r\n3. Inspect the Python Output panel to see that you get nothing:\r\n ```\r\n ##########Linting Output - mypy##########\r\n\r\n Success: no issues found in 1 source file\r\n ```\r\n\r\nMypy version: `mypy 0.990 (compiled: yes)`\r\n\r\nEdit: I have tested and linting works for mypy 0.981\r\n\r\n\u003c!--\r\n**After** creating the issue on GitHub, you can add screenshots and GIFs of what is happening. Consider tools like https://www.cockos.com/licecap/, https://github.com/phw/peek or https://www.screentogif.com/ for GIF creation.\r\n-->\r\n\r\n\u003c!-- **NOTE**: Everything below except Python output panel is auto-generated; no editing required. Please do provide Python output panel. -->\r\n# Diagnostic data\r\n\r\n- Python version (& distribution if applicable, e.g. Anaconda): 3.10.6\r\n- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Conda\r\n- Value of the `python.languageServer` setting: Pylance\r\n\r\n\u003cdetails>\r\n\r\n\u003csummary>Output for \u003ccode>Python\u003c/code> in the \u003ccode>Output\u003c/code> panel (\u003ccode>View\u003c/code>→\u003ccode>Output\u003c/code>, change the drop-down the upper-right of the \u003ccode>Output\u003c/code> panel to \u003ccode>Python\u003c/code>)\r\n\u003c/summary>\r\n\r\n\u003cp>\r\n\r\n```\r\n> /opt/conda/bin/conda run -n env_name --no-capture-output python /net/~/.vscode/extensions/ms-python.python-2022.16.1/pythonFiles/get_output_via_markers.py /net/~/.vscode/extensions/ms-python.python-2022.16.1/pythonFiles/linter.py -m mypy --ignore-missing-imports --follow-imports=silent --show-column-numbers --show-error-codes --explicit-package-bases --namespace-packages ./path/to/file.py\r\ncwd: .\r\n##########Linting Output - mypy##########\r\n\r\nSuccess: no issues found in 1 source file\r\n```\r\n\r\n\u003c/p>\r\n\u003c/details>\r\n\r\n\u003cdetails>\r\n\r\n\u003csummary>User Settings\u003c/summary>\r\n\r\n\u003cp>\r\n\r\n```\r\n\r\ncondaPath: \"\u003cplaceholder>\"\r\n\r\nlanguageServer: \"Pylance\"\r\n\r\nlinting\r\n• mypyArgs: \"\u003cplaceholder>\"\r\n• mypyEnabled: true\r\n\r\nformatting\r\n• autopep8Args: \"\u003cplaceholder>\"\r\n\r\ntesting\r\n• pytestArgs: \"\u003cplaceholder>\"\r\n• pytestEnabled: true\r\n\r\n```\r\n\r\n\u003c/p>\r\n\u003c/details>\r\n\r\n\r\nExtension version: 2022.16.1\r\nVS Code version: Code 1.72.2 (d045a5eda657f4d7b676dedbfa7aab8207f8a075, 2022-10-12T22:16:26.920Z)\r\nOS version: Linux x64 3.10.0-1160.76.1.el7.x86_64\r\nModes:\r\nSandboxed: No\r\n\r\n\u003cdetails>\r\n\u003csummary>System Info\u003c/summary>\r\n\r\n|Item|Value|\r\n|---|---|\r\n|CPUs|Intel(R) Xeon(R) CPU E5-2690 v4 @ 2.60GHz (4 x 2599)|\r\n|GPU Status|2d_canvas: unavailable_software\u003cbr>canvas_oop_rasterization: disabled_off\u003cbr>direct_rendering_display_compositor: disabled_off_ok\u003cbr>gpu_compositing: disabled_software\u003cbr>multiple_raster_threads: enabled_on\u003cbr>opengl: disabled_off\u003cbr>rasterization: disabled_software\u003cbr>raw_draw: disabled_off_ok\u003cbr>skia_renderer: enabled_on\u003cbr>video_decode: disabled_software\u003cbr>video_encode: disabled_software\u003cbr>vulkan: disabled_off\u003cbr>webgl: unavailable_software\u003cbr>webgl2: unavailable_software\u003cbr>webgpu: disabled_off|\r\n|Load (avg)|1, 3, 3|\r\n|Memory (System)|7.62GB (1.80GB free)|\r\n|Process Argv|--unity-launch --crash-reporter-id 4cb3165e-6680-471f-992f-0c1e623756f7|\r\n|Screen Reader|no|\r\n|VM|100%|\r\n|DESKTOP_SESSION|1-gnome|\r\n|XDG_CURRENT_DESKTOP|GNOME|\r\n|XDG_SESSION_DESKTOP|1-gnome|\r\n|XDG_SESSION_TYPE|x11|\r\n\u003c/details>\r\n\u003c!-- generated by issue reporter -->","author":{"url":"https://github.com/MetRonnie","@type":"Person","name":"MetRonnie"},"datePublished":"2022-11-08T16:49:18Z","url":"https://github.com/microsoft/vscode-python/issues/20182"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8e9d991f-ff9d-ce3f-c152-b35d614e9fc2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C88A:196792:2ED279A:3E171DA:6B002C0E |
| html-safe-nonce | c7009f69d158cd18bfbe1c906293099237ba2f697bcf0ca9d6f9764ff049617f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODhBOjE5Njc5MjoyRUQyNzlBOjNFMTcxREE6NkIwMDJDMEUiLCJ2aXNpdG9yX2lkIjoiODU2OTc0MjIwODc3OTk1NTIxNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3a9bbf330e0ebed8e4b10c81f0b8e44a9c398b9c32bb4a6fe22e82422063d3d3 |
| hovercard-subject-tag | issue:1440552892 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/vscode-python/20182/issue_layout |
| twitter:image | https://opengraph.githubassets.com/78fb5e713578cf8370760ce458601e0d7f913c0516b221ba7be8250a1267c71b/microsoft/vscode-python/issues/20182 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/78fb5e713578cf8370760ce458601e0d7f913c0516b221ba7be8250a1267c71b/microsoft/vscode-python/issues/20182 |
| og:image:alt | Type: Bug Behaviour Expected vs. Actual Expected: mypy errors are found. Actual: mypy reports no errors. Steps to reproduce: Introduce a deliberate type error Run mypy |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MetRonnie |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/vscode-python git https://github.com/microsoft/vscode-python.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 106462765 |
| octolytics-dimension-repository_nwo | microsoft/vscode-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 49946255 |
| octolytics-dimension-repository_parent_nwo | DonJayamanne/pythonVSCode |
| octolytics-dimension-repository_network_root_id | 49946255 |
| octolytics-dimension-repository_network_root_nwo | DonJayamanne/pythonVSCode |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width