Use ruff line-length in format_dev (#6870)

This commit is contained in:
konsti 2023-09-05 16:19:17 +02:00 committed by GitHub
parent 1adde24133
commit 5a95edab45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 14 deletions

View file

@ -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("\"")])?;