Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Avasam opened this issue Jun 13, 2023 · 1 comment
Labels
feature-request Request for new features or functionality needs community feedback

Comments

@Avasam
Copy link
Contributor

Avasam commented Jun 13, 2023

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

  • # type: ignore[error-code] at the end of the line
  • or # mypy: disable-error-code="error-code" to the top of the file

Similar to how ESLint does it
image

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

@karthiknadig karthiknadig added feature-request Request for new features or functionality needs community feedback and removed triage-needed labels Jun 13, 2023
@karthiknadig
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality needs community feedback
Projects
None yet
Development

No branches or pull requests

2 participants