Pull in RustPython parser (#6099)

This commit is contained in:
Micha Reiser
2023-07-27 11:29:11 +02:00
committed by GitHub
parent 86539c1fc5
commit 40f54375cb
779 changed files with 108400 additions and 2078 deletions

View File

@@ -1,10 +1,10 @@
use std::borrow::Cow;
use bitflags::bitflags;
use ruff_python_ast::{ExprConstant, Ranged};
use ruff_python_parser::lexer::{lex_starts_at, LexicalError, LexicalErrorType};
use ruff_python_parser::{Mode, Tok};
use ruff_text_size::{TextLen, TextRange, TextSize};
use rustpython_ast::{ExprConstant, Ranged};
use rustpython_parser::lexer::{lex_starts_at, LexicalError, LexicalErrorType};
use rustpython_parser::{Mode, Tok};
use ruff_formatter::{format_args, write, FormatError};
use ruff_python_ast::str::is_implicit_concatenation;