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

WIP: Add unterminated f-string range in Indexer #8281

Closed
wants to merge 1 commit into from

Conversation

dhruvmanila
Copy link
Member

@dhruvmanila dhruvmanila commented Oct 27, 2023

Summary

WIP: This PR adds support for adding unterminated f-string range in the
Indexer. The main challenge is to consider the range while computing the NoQA
offsets and tell the caller that there is no offset where the NoQA comment can
be added. This will not only help in unterminated f-string, but also in other
cases where there's syntax error but the range exists in the Indexer.

Test Plan

Discussion: #8154

@dhruvmanila
Copy link
Member Author

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@dhruvmanila dhruvmanila changed the title Add unterminated f-string range in Indexer WIP: Add unterminated f-string range in Indexer Oct 27, 2023
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

Successfully merging this pull request may close these issues.

1 participant