mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 10:22:24 +00:00
Fix handling of trailing target comment (#9051)
This commit is contained in:
parent
a224f19903
commit
d0d88d9375
3 changed files with 25 additions and 1 deletions
|
@ -67,3 +67,12 @@ def main() -> None:
|
|||
db_request.POST["name"]
|
||||
)
|
||||
)[0]
|
||||
|
||||
|
||||
c = b[dddddd, aaaaaa] = (
|
||||
a[
|
||||
aaaaaaa,
|
||||
bbbbbbbbbbbbbbbbbbb
|
||||
]
|
||||
# comment
|
||||
) = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue