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 0782cec commit d88f317Copy full SHA for d88f317
crates/ruff_python_formatter/src/expression/string.rs
@@ -51,7 +51,7 @@ impl<'a> AnyString<'a> {
51
let unprefixed = locator
52
.slice(f_string.range)
53
.trim_start_matches(|c| c != '"' && c != '\'');
54
- let triple_quotes =
+ let triple_quoted =
55
unprefixed.starts_with(r#"""""#) || unprefixed.starts_with(r#"'''"#);
56
if f_string.values.iter().any(|value| match value {
57
Expr::FormattedValue(ast::ExprFormattedValue { range, .. }) => {
0 commit comments