-
Notifications
You must be signed in to change notification settings - Fork 161
Hovering over type ignore shows error message #1290
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great! thank you for the contribution. and sorry it took us a while to get to this.
just a minor suggestion to keep the APIs more clear: we should add the comment range to the Suppression struct so we parse once instead of parsing on the fly.
@kinto0 Thanks for the feedback! Refactored to use the comment range suppression API
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for making the changes so quickly! looks like you improved string parsing a lot, too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review automatically exported from Phabricator review in Meta.
Addresses #890. Implements hover functionality that shows suppressed errors when hovering over # pyrefly: ignore or # type: ignore comments.