Skip to content

Comments

Remove triple-quoted string ranges computation#7476

Merged
dhruvmanila merged 1 commit intomainfrom
dhruv/indexer-cleanup
Sep 18, 2023
Merged

Remove triple-quoted string ranges computation#7476
dhruvmanila merged 1 commit intomainfrom
dhruv/indexer-cleanup

Conversation

@dhruvmanila
Copy link
Member

Summary

This is a follow-up PR for #7435 to remove the now unused triple-quoted string
ranges from the indexer.

From #7325 (comment):

[...] Except if we plan to to re-use the multiline-string ranges for add-noqa as well:

Micha raised a point about it but I don't think that's going to be a problem as
it was never used in add-noqa in the first place. In the context of f-string
we would actually be using the f-string ranges instead as even single-quoted
f-string can be multi-line.

@dhruvmanila
Copy link
Member Author

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@dhruvmanila dhruvmanila added the internal An internal refactor or improvement label Sep 18, 2023
@github-actions
Copy link
Contributor

PR Check Results

Ecosystem

✅ ecosystem check detected no changes.

@dhruvmanila
Copy link
Member Author

(Merging this as it's just a mechanical refactor)

@dhruvmanila dhruvmanila merged commit c2bd8af into main Sep 18, 2023
@dhruvmanila dhruvmanila deleted the dhruv/indexer-cleanup branch September 18, 2023 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal An internal refactor or improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant