Remove parser dependency from ruff-python-ast (#6096)

This commit is contained in:
Micha Reiser
2023-07-26 17:47:22 +02:00
committed by GitHub
parent 99127243f4
commit 2cf00fee96
658 changed files with 1714 additions and 1546 deletions

View File

@@ -7,7 +7,7 @@ use crate::{FormatNodeRule, PyFormatter};
use ruff_formatter::prelude::{space, text};
use ruff_formatter::{write, Buffer, FormatResult};
use ruff_python_ast::node::AnyNodeRef;
use rustpython_parser::ast::ExprLambda;
use rustpython_ast::ExprLambda;
#[derive(Default)]
pub struct FormatExprLambda;