mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-11 14:18:04 +00:00
Use ruff line-length in format_dev (#6870)
This commit is contained in:
parent
1adde24133
commit
5a95edab45
2 changed files with 35 additions and 14 deletions
|
@ -273,10 +273,7 @@ for converter in connection.ops.get_db_converters(
|
|||
struct FormatString<'a>(&'a str);
|
||||
|
||||
impl Format<SimpleFormatContext> for FormatString<'_> {
|
||||
fn fmt(
|
||||
&self,
|
||||
f: &mut ruff_formatter::formatter::Formatter<SimpleFormatContext>,
|
||||
) -> FormatResult<()> {
|
||||
fn fmt(&self, f: &mut Formatter<SimpleFormatContext>) -> FormatResult<()> {
|
||||
let format_str = format_with(|f| {
|
||||
write!(f, [token("\"")])?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue