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

Support type ignore comments with explicit error codes. #905

Closed
pipermerriam opened this issue Jan 30, 2020 · 1 comment
Closed

Support type ignore comments with explicit error codes. #905

pipermerriam opened this issue Jan 30, 2020 · 1 comment

Comments

@pipermerriam
Copy link

Currently mypy supports silencing specific errors with a comment using the syntax: type: ignore[<error-code>]

This style comment is reported as a violation of F723

@asottile
Copy link
Member

"F" codes come from pyflakes (not here) which has already fixed this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants