Suite formatting and JoinNodesBuilder (#4805)

This commit is contained in:
Micha Reiser 2023-06-02 16:14:38 +02:00 committed by GitHub
parent 03ee6033f9
commit ebdc4afc33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 431 additions and 4 deletions

View file

@ -1,6 +1,5 @@
use crate::context::PyFormatContext;
use crate::{AsFormat, IntoFormat, PyFormatter};
use ruff_formatter::{Format, FormatOwnedWithRule, FormatRefWithRule, FormatResult, FormatRule};
use crate::prelude::*;
use ruff_formatter::{FormatOwnedWithRule, FormatRefWithRule};
use rustpython_parser::ast::Stmt;
pub(crate) mod stmt_ann_assign;
@ -30,6 +29,7 @@ pub(crate) mod stmt_try;
pub(crate) mod stmt_try_star;
pub(crate) mod stmt_while;
pub(crate) mod stmt_with;
pub(crate) mod suite;
#[derive(Default)]
pub struct FormatStmt;