We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40bddf4 commit 30466a5Copy full SHA for 30466a5
crates/ruff_python_formatter/src/statement/stmt_with.rs
@@ -302,8 +302,7 @@ impl<'a> WithItemsLayout<'a> {
302
}
303
304
305
- let can_parenthesize = context.options().target_version() >= PythonVersion::PY39
306
- || are_with_items_parenthesized(with, context)?;
+ let can_parenthesize = true; // are_with_items_parenthesized(with, context)?;
307
308
// If the target version doesn't support parenthesized context managers and they aren't
309
// parenthesized by the user, bail out.
0 commit comments