Implement template strings (#17851)
This PR implements template strings (t-strings) in the parser and formatter for Ruff. Minimal changes necessary to compile were made in other parts of the code (e.g. ty, the linter, etc.). These will be covered properly in follow-up PRs.
This commit is contained in:
@@ -94,6 +94,7 @@ pub(super) fn detect_invalid_pre_py39_decorator_node(
|
||||
Expr::YieldFrom(_) => "`yield from` expression",
|
||||
Expr::Compare(_) => "comparison expression",
|
||||
Expr::FString(_) => "f-string",
|
||||
Expr::TString(_) => "t-string",
|
||||
Expr::Named(_) => "assignment expression",
|
||||
Expr::Subscript(_) => "subscript expression",
|
||||
Expr::IpyEscapeCommand(_) => "IPython escape command",
|
||||
|
||||
Reference in New Issue
Block a user