microsoft / vscode-mypy

Linting support for Python using the mypy linter.
https://marketplace.visualstudio.com/items?itemName=ms-python.mypy-type-checker
MIT License
119 stars 26 forks source link

Error running mypy #254

Closed Bijig0 closed 10 months ago

Bijig0 commented 10 months ago
usage: mypy [-h] [-v] [-V] [more options; see below]
            [-m MODULE] [-p PACKAGE] [-c PROGRAM_TEXT] [files ...]
mypy: error: unrecognized arguments: --show-error-end

[2] Error running mypy in /Users/a61403/Desktop/letsencrypt-docker-compose: mypy failed with error: "usage: mypy [-h] [-v] [-V] [more options; see below]". See Output panel for details.

Getting this error when trying to run mypy

karthiknadig commented 10 months ago

@Bijig0 It looks like you might be running old version of mypy. Please update to latest version of mypy or use the one shipped with the extension. This is supported in mypy versions 1.* see:

image