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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
658 changed files with 1714 additions and 1546 deletions

View file

@ -5,7 +5,7 @@ use std::fs;
use std::path::PathBuf;
use anyhow::Result;
use rustpython_parser::ast::Suite;
use rustpython_ast::Suite;
use rustpython_parser::Parse;
#[derive(clap::Args)]

View file

@ -7,7 +7,7 @@ use std::path::PathBuf;
use anyhow::Result;
use ruff::jupyter;
use ruff::round_trip;
use ruff_python_codegen::round_trip;
use ruff_python_stdlib::path::is_jupyter_notebook;
#[derive(clap::Args)]