mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-01 20:30:49 +00:00
Fix binary expression formatting with leading comments (#4964)
This commit is contained in:
parent
1accbeffd6
commit
646ab64850
3 changed files with 37 additions and 3 deletions
|
|
@ -41,3 +41,14 @@ not (aaaaaaaaaaaaaa + {a for x in bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
|||
# comment
|
||||
content + b
|
||||
)
|
||||
|
||||
|
||||
if (
|
||||
aaaaaaaaaaaaaaaaaa +
|
||||
# has the child process finished?
|
||||
bbbbbbbbbbbbbbb +
|
||||
# the child process has finished, but the
|
||||
# transport hasn't been notified yet?
|
||||
ccccccccccc
|
||||
):
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue