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 should not concatenate multiple strings on the same line #9965

Closed
DetachHead opened this issue Feb 12, 2024 · 1 comment
Closed
Labels
formatter Related to the formatter

Comments

@DetachHead
Copy link

before

asdf(
    "asdf"
    "asdf"
)

after

actual

asdf("asdf" "asdf")

expected

it should either do this:

asdf("asdfasdf")

or just leave it as-is

asdf(
    "asdf"
    "asdf"
)

https://play.ruff.rs/55df5227-bc7a-45bb-8ae2-f1a8b7802221

@charliermarsh
Copy link
Member

I believe this is covered by #9457.

@charliermarsh charliermarsh closed this as not planned Won't fix, can't repro, duplicate, stale Feb 12, 2024
@charliermarsh charliermarsh added the formatter Related to the formatter label Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
formatter Related to the formatter
Projects
None yet
Development

No branches or pull requests

2 participants