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

@@ -1,5 +1,5 @@
use ruff_text_size::TextRange;
use rustpython_parser::ast::{Expr, ExprSlice, ExprUnaryOp, Ranged, UnaryOp};
use rustpython_ast::{Expr, ExprSlice, ExprUnaryOp, Ranged, UnaryOp};
use ruff_formatter::prelude::{hard_line_break, line_suffix_boundary, space, text};
use ruff_formatter::{write, Buffer, Format, FormatError, FormatResult};