mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-27 12:29:28 +00:00
Pull in RustPython parser (#6099)
This commit is contained in:
parent
86539c1fc5
commit
40f54375cb
779 changed files with 108400 additions and 2078 deletions
|
@ -9,8 +9,8 @@ use crate::{FormatNodeRule, PyFormatter};
|
|||
use ruff_formatter::FormatRuleWithOptions;
|
||||
use ruff_formatter::{write, Buffer, FormatResult};
|
||||
use ruff_python_ast::node::AnyNodeRef;
|
||||
use ruff_python_ast::{ExceptHandler, Ranged, StmtTry, StmtTryStar, Suite};
|
||||
use ruff_text_size::TextRange;
|
||||
use rustpython_ast::{ExceptHandler, Ranged, StmtTry, StmtTryStar, Suite};
|
||||
|
||||
pub(super) enum AnyStatementTry<'a> {
|
||||
Try(&'a StmtTry),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue