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:
@@ -5,7 +5,7 @@ use std::sync::LazyLock;
|
||||
use ruff_text_size::{TextLen, TextRange};
|
||||
|
||||
/// Enumeration of the two kinds of quotes that can be used
|
||||
/// for Python string/f-string/bytestring literals
|
||||
/// for Python string/f/t-string/bytestring literals
|
||||
#[derive(Debug, Default, Copy, Clone, Hash, PartialEq, Eq, is_macro::Is)]
|
||||
pub enum Quote {
|
||||
/// E.g. `'`
|
||||
|
||||
Reference in New Issue
Block a user