X Tutup
Skip to content

Commit 4f577e5

Browse files
authored
Update ruff to 0.15.4 (#7246)
* Update ruff to 0.15.4 * Unmark passing test
1 parent 221dfc2 commit 4f577e5

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,12 +144,12 @@ rustpython-sre_engine = { path = "crates/sre_engine", version = "0.4.0" }
144144
rustpython-wtf8 = { path = "crates/wtf8", version = "0.4.0" }
145145
rustpython-doc = { path = "crates/doc", version = "0.4.0" }
146146

147-
# Ruff tag 0.15.1 is based on commit a2f11d239f91cf8daedb0764ec15fcfe29c5ae6d
147+
# Ruff tag 0.15.4 is based on commit f14edd8661e2803254f89265548c7487f47a09f6
148148
# at the time of this capture. We use the commit hash to ensure reproducible builds.
149-
ruff_python_parser = { git = "https://github.com/astral-sh/ruff.git", rev = "a2f11d239f91cf8daedb0764ec15fcfe29c5ae6d" }
150-
ruff_python_ast = { git = "https://github.com/astral-sh/ruff.git", rev = "a2f11d239f91cf8daedb0764ec15fcfe29c5ae6d" }
151-
ruff_text_size = { git = "https://github.com/astral-sh/ruff.git", rev = "a2f11d239f91cf8daedb0764ec15fcfe29c5ae6d" }
152-
ruff_source_file = { git = "https://github.com/astral-sh/ruff.git", rev = "a2f11d239f91cf8daedb0764ec15fcfe29c5ae6d" }
149+
ruff_python_parser = { git = "https://github.com/astral-sh/ruff.git", rev = "f14edd8661e2803254f89265548c7487f47a09f6" }
150+
ruff_python_ast = { git = "https://github.com/astral-sh/ruff.git", rev = "f14edd8661e2803254f89265548c7487f47a09f6" }
151+
ruff_text_size = { git = "https://github.com/astral-sh/ruff.git", rev = "f14edd8661e2803254f89265548c7487f47a09f6" }
152+
ruff_source_file = { git = "https://github.com/astral-sh/ruff.git", rev = "f14edd8661e2803254f89265548c7487f47a09f6" }
153153

154154
phf = { version = "0.13.1", default-features = false, features = ["macros"]}
155155
ahash = "0.8.12"

Lib/test/test_syntax.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2450,7 +2450,6 @@ def test_except_star_then_except(self):
24502450
r"cannot have both 'except' and 'except\*' on the same 'try'",
24512451
lineno=3, end_lineno=3, offset=1, end_offset=7)
24522452

2453-
@unittest.expectedFailure # TODO: RUSTPYTHON
24542453
def test_empty_line_after_linecont(self):
24552454
# See issue-40847
24562455
s = r"""\

0 commit comments

Comments
 (0)
X Tutup