mirror of
				https://github.com/astral-sh/ruff.git
				synced 2025-10-31 12:05:57 +00:00 
			
		
		
		
	 9bbf4987e8
			
		
	
	
		9bbf4987e8
		
			
		
	
	
	
	
		
			
			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.
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			593 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			593 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| pub(crate) mod alias;
 | |
| pub(crate) mod arguments;
 | |
| pub(crate) mod bytes_literal;
 | |
| pub(crate) mod commas;
 | |
| pub(crate) mod comprehension;
 | |
| pub(crate) mod decorator;
 | |
| pub(crate) mod elif_else_clause;
 | |
| pub(crate) mod except_handler_except_handler;
 | |
| pub(crate) mod f_string;
 | |
| pub(crate) mod identifier;
 | |
| pub(crate) mod interpolated_string;
 | |
| pub(crate) mod interpolated_string_element;
 | |
| pub(crate) mod keyword;
 | |
| pub(crate) mod match_case;
 | |
| pub(crate) mod parameter;
 | |
| pub(crate) mod parameter_with_default;
 | |
| pub(crate) mod parameters;
 | |
| pub(crate) mod string_literal;
 | |
| pub(crate) mod t_string;
 | |
| pub(crate) mod with_item;
 |