Skip to content

Commit fc7232f

Browse files
committed
ruff from fork
1 parent 1f6b4c6 commit fc7232f

File tree

2 files changed

+94
-88
lines changed

2 files changed

+94
-88
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,18 @@ rustpython-sre_engine = { path = "crates/sre_engine", version = "0.5.0" }
156156
rustpython-wtf8 = { path = "crates/wtf8", version = "0.5.0" }
157157
rustpython-doc = { path = "crates/doc", version = "0.5.0" }
158158

159+
# Use RustPython-packaged Ruff crates from the published fork while keeping
160+
# existing crate names in the codebase.
161+
ruff_python_parser = { package = "rustpython-ruff_python_parser", git = "https://github.com/RustPython/ruff.git", tag = "0.15.8-rustpython", version = "0.15.8" }
162+
ruff_python_ast = { package = "rustpython-ruff_python_ast", git = "https://github.com/RustPython/ruff.git", tag = "0.15.8-rustpython", version = "0.15.8" }
163+
ruff_text_size = { package = "rustpython-ruff_text_size", git = "https://github.com/RustPython/ruff.git", tag = "0.15.8-rustpython", version = "0.15.8" }
164+
ruff_source_file = { package = "rustpython-ruff_source_file", git = "https://github.com/RustPython/ruff.git", tag = "0.15.8-rustpython", version = "0.15.8" }
159165
# Ruff tag 0.15.8 is based on commit c2a8815842f9dc5d24ec19385eae0f1a7188b0d9
160166
# at the time of this capture. We use the commit hash to ensure reproducible builds.
161-
ruff_python_parser = { git = "https://github.com/astral-sh/ruff.git", rev = "c2a8815842f9dc5d24ec19385eae0f1a7188b0d9" }
162-
ruff_python_ast = { git = "https://github.com/astral-sh/ruff.git", rev = "c2a8815842f9dc5d24ec19385eae0f1a7188b0d9" }
163-
ruff_text_size = { git = "https://github.com/astral-sh/ruff.git", rev = "c2a8815842f9dc5d24ec19385eae0f1a7188b0d9" }
164-
ruff_source_file = { git = "https://github.com/astral-sh/ruff.git", rev = "c2a8815842f9dc5d24ec19385eae0f1a7188b0d9" }
167+
# ruff_python_parser = { git = "https://github.com/astral-sh/ruff.git", rev = "c2a8815842f9dc5d24ec19385eae0f1a7188b0d9" }
168+
# ruff_python_ast = { git = "https://github.com/astral-sh/ruff.git", rev = "c2a8815842f9dc5d24ec19385eae0f1a7188b0d9" }
169+
# ruff_text_size = { git = "https://github.com/astral-sh/ruff.git", rev = "c2a8815842f9dc5d24ec19385eae0f1a7188b0d9" }
170+
# ruff_source_file = { git = "https://github.com/astral-sh/ruff.git", rev = "c2a8815842f9dc5d24ec19385eae0f1a7188b0d9" }
165171

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

0 commit comments

Comments
 (0)