Skip to content

Commit fcf1969

Browse files
Update ruff 0.14.1 (#6195)
* Update ruff to 0.14.1 * Fix test regression in `test_compile` * Unmark passing test * Update `test_syntax` from 3.13.9 --------- Co-authored-by: Noa <coolreader18@gmail.com>
1 parent 9a5d5d6 commit fcf1969

32 files changed

+1440
-406
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,10 @@ rustpython-sre_engine = { path = "vm/sre_engine", version = "0.4.0" }
158158
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

161-
ruff_python_parser = { git = "https://github.com/astral-sh/ruff.git", tag = "0.11.0" }
162-
ruff_python_ast = { git = "https://github.com/astral-sh/ruff.git", tag = "0.11.0" }
163-
ruff_text_size = { git = "https://github.com/astral-sh/ruff.git", tag = "0.11.0" }
164-
ruff_source_file = { git = "https://github.com/astral-sh/ruff.git", tag = "0.11.0" }
161+
ruff_python_parser = { git = "https://github.com/astral-sh/ruff.git", tag = "0.14.1" }
162+
ruff_python_ast = { git = "https://github.com/astral-sh/ruff.git", tag = "0.14.1" }
163+
ruff_text_size = { git = "https://github.com/astral-sh/ruff.git", tag = "0.14.1" }
164+
ruff_source_file = { git = "https://github.com/astral-sh/ruff.git", tag = "0.14.1" }
165165

166166
ahash = "0.8.12"
167167
ascii = "1.1"

Lib/test/test_fstring.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1826,7 +1826,6 @@ def test_gh129093(self):
18261826
self.assertEqual(f'{f'{1!=2=}'=}', "f'{1!=2=}'='1!=2=True'")
18271827
self.assertEqual(f'{f'{1 != 2=}'=}', "f'{1 != 2=}'='1 != 2=True'")
18281828

1829-
@unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: "f-string: newlines are not allowed in format specifiers" does not match "'unexpected EOF while parsing' (<string>, line 2)"
18301829
def test_newlines_in_format_specifiers(self):
18311830
cases = [
18321831
"""f'{1:d\n}'""",

0 commit comments

Comments
 (0)