Skip to content

Commit 0fb7d0f

Browse files
authored
Use ruff for Expr unparsing (RustPython#6124)
* Use ruff for unparse backend * Update `test_future_stmt/*.py` from 3.13.7 * Mark failing tests * Mark failing test * Merge remote-tracking branch 'upstream/main' into ruff-unparse * Reapply ruff code * remove git symbols * Unmark passing test
1 parent efd3a4e commit 0fb7d0f

16 files changed

+179
-147
lines changed

Cargo.lock

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ rustpython-wtf8 = { path = "wtf8", version = "0.4.0" }
159159
rustpython-doc = { git = "https://github.com/RustPython/__doc__", tag = "0.3.0", version = "0.3.0" }
160160

161161
ruff_python_parser = { git = "https://github.com/astral-sh/ruff.git", tag = "0.14.1" }
162+
ruff_python_codegen = { git = "https://github.com/astral-sh/ruff.git", tag = "0.14.1" }
162163
ruff_python_ast = { git = "https://github.com/astral-sh/ruff.git", tag = "0.14.1" }
163164
ruff_text_size = { git = "https://github.com/astral-sh/ruff.git", tag = "0.14.1" }
164165
ruff_source_file = { git = "https://github.com/astral-sh/ruff.git", tag = "0.14.1" }

Lib/test/test_future_stmt/badsyntax_future3.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

Lib/test/test_future_stmt/badsyntax_future4.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

Lib/test/test_future_stmt/badsyntax_future5.py

Lines changed: 0 additions & 12 deletions
This file was deleted.

Lib/test/test_future_stmt/badsyntax_future6.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

Lib/test/test_future_stmt/badsyntax_future7.py

Lines changed: 0 additions & 11 deletions
This file was deleted.

Lib/test/test_future_stmt/badsyntax_future8.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

Lib/test/test_future_stmt/badsyntax_future9.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)