mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 13:51:37 +00:00
Enable tupleassign
test (#3080)
This commit is contained in:
parent
b701cca779
commit
90c04b9cff
4 changed files with 12 additions and 9 deletions
|
@ -1,7 +1,6 @@
|
|||
---
|
||||
source: src/source_code/mod.rs
|
||||
assertion_line: 0
|
||||
expression: formatted
|
||||
source: crates/ruff_python_formatter/src/lib.rs
|
||||
expression: formatted.print()?.as_code()
|
||||
---
|
||||
# This is a standalone comment.
|
||||
(
|
||||
|
@ -9,10 +8,9 @@ expression: formatted
|
|||
sdfjsdfjlksdljkfsdlkf,
|
||||
sdfsdjfklsdfjlksdljkf,
|
||||
sdsfsdfjskdflsfsdf,
|
||||
) = (1, 2, 3)
|
||||
) = 1, 2, 3
|
||||
|
||||
# This is as well.
|
||||
(this_will_be_wrapped_in_parens,) = struct.unpack(b"12345678901234567890")
|
||||
|
||||
(a,) = call()
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue