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

@ -15,7 +15,7 @@ proc-macro = true
doctest = false
[dependencies]
ruff_textwrap = { path = "../ruff_textwrap" }
ruff_python_trivia = { path = "../ruff_python_trivia" }
proc-macro2 = { workspace = true }
quote = { workspace = true }

View file

@ -1,4 +1,4 @@
use ruff_textwrap::dedent;
use ruff_python_trivia::textwrap::dedent;
use quote::{quote, quote_spanned};
use syn::parse::{Parse, ParseStream};