mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-26 11:59:10 +00:00
Update TupleParentheses
usage (#5810)
This commit is contained in:
parent
8a7dcb794b
commit
8eadacda33
7 changed files with 88 additions and 30 deletions
|
@ -53,3 +53,7 @@ selected_choices = [
|
|||
str(v)
|
||||
for vvvvvvvvvvvvvvvvvvvvvvv in value if str(v) not in self.choices.field.empty_values
|
||||
]
|
||||
|
||||
# Tuples with BinOp
|
||||
[i for i in (aaaaaaaaaaaaaaaaaaaaaa + bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb, ccccccccccccccccccccc)]
|
||||
[(aaaaaaaaaaaaaaaaaaaaaa + bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb, ccccccccccccccccccccc) for i in b]
|
Loading…
Add table
Add a link
Reference in a new issue