mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-10 05:39:12 +00:00
upgrade rustpython to remove tuple-constants (#5840)
c.f. https://github.com/astral-sh/RustPython-Parser/pull/28 Tests: No snapshots changed --------- Co-authored-by: Zanie <contact@zanie.dev>
This commit is contained in:
parent
e574a6a769
commit
52aa2fc875
13 changed files with 131 additions and 206 deletions
|
@ -88,7 +88,6 @@ impl From<&Expr> for PythonType {
|
|||
Constant::None => PythonType::None,
|
||||
Constant::Ellipsis => PythonType::Ellipsis,
|
||||
Constant::Bytes(_) => PythonType::Bytes,
|
||||
Constant::Tuple(_) => PythonType::Tuple,
|
||||
},
|
||||
_ => PythonType::Unknown,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue