mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-08 20:58:05 +00:00
Simplify formatting of strings by using flags from the AST nodes (#10489)
This commit is contained in:
parent
fc792d1d2e
commit
7caf0d064a
22 changed files with 725 additions and 809 deletions
|
@ -115,7 +115,6 @@ pub use parser::{
|
|||
};
|
||||
use ruff_python_ast::{Mod, PySourceType, Suite};
|
||||
pub use string::FStringErrorType;
|
||||
pub use string_token_flags::StringKind;
|
||||
pub use token::{Tok, TokenKind};
|
||||
|
||||
use crate::lexer::LexResult;
|
||||
|
@ -128,7 +127,6 @@ pub mod lexer;
|
|||
mod parser;
|
||||
mod soft_keywords;
|
||||
mod string;
|
||||
mod string_token_flags;
|
||||
mod token;
|
||||
mod token_source;
|
||||
pub mod typing;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue