Update TupleParentheses usage (#5810)
This commit is contained in:
@@ -17,7 +17,7 @@ impl Format<PyFormatContext<'_>> for ExprTupleWithoutParentheses<'_> {
|
||||
match self.0 {
|
||||
Expr::Tuple(expr_tuple) => expr_tuple
|
||||
.format()
|
||||
.with_options(TupleParentheses::StripInsideForLoop)
|
||||
.with_options(TupleParentheses::NeverPreserve)
|
||||
.fmt(f),
|
||||
other => maybe_parenthesize_expression(other, self.0, Parenthesize::IfBreaks).fmt(f),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user