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

formatter: multiple string prefixes #6864

Closed
davidszotten opened this issue Aug 25, 2023 · 0 comments · Fixed by #6865
Closed

formatter: multiple string prefixes #6864

davidszotten opened this issue Aug 25, 2023 · 0 comments · Fixed by #6865

Comments

@davidszotten
Copy link
Contributor

Not looked into this much yet, but i think we aren't handling multiple string prefixes correctly, e.g.

input: rb"Not-so-tricky \"quote"
black: rb"Not-so-tricky \"quote"
ruff: rb'Not-so-tricky "quote'

konstin pushed a commit that referenced this issue Aug 25, 2023
fix `is_raw_string` in the presence of other prefixes (like `rb"foo"`)

fixes #6864
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 a pull request may close this issue.

1 participant