microsoft / vscode-mypy

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

Feature request: Offer "# type: ignore" quick fix for line and entire file #56

Open Avasam opened 1 year ago

Avasam commented 1 year ago

I would like to request for the extension to offer a Quick Fix to suppress an error by adding:

Similar to how ESLint does it image

And better than pylance does it by also including the error code: image

karthiknadig commented 1 year ago

Thanks for the feature request! We are going to give the community time to provide upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.