You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ruff formatter seems to keep redundant quotes at the edges of lines when collapsing them into one line.
P.S. Maybe it's me not using multiline strings properly, and current behavior is expected.
MRE
With line-length set at 100, running ruff format gives this diff:
- st.warning(- "This page is not implemented yet,"- " and is just a placeholder to test navigation."- )+ st.warning("This page is not implemented yet," " and is just a placeholder to test navigation.")
With redundant " " in the middle.
References and context
List of keywords you searched for before creating this issue: multiline
The command you invoked: ruff format
The current Ruff version: 0.7.1
The text was updated successfully, but these errors were encountered:
Description
Ruff formatter seems to keep redundant quotes at the edges of lines when collapsing them into one line.
MRE
With
line-length
set at100
, runningruff format
gives this diff:With redundant
" "
in the middle.References and context
multiline
ruff format
0.7.1
The text was updated successfully, but these errors were encountered: