mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-29 14:54:21 +00:00
Make ruff_db
a required crate for ruff_python_semantic
(#11874)
## Summary
This PR makes the `ruff_db` a required crate for `ruff_python_semantic`.
Refer
2623330715
## Test Plan
1. `maturin sdist --out dist`
2. `tar -xf dist/ruff-0.4.8.tar.gz --directory=dist/ruff-0.4.8`
3. `pip install dist/ruff-0.4.8.tar.gz` works
This commit is contained in:
parent
89bb07c251
commit
d681a45b08
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ license = { workspace = true }
|
||||||
doctest = false
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
ruff_db = { workspace = true, optional = true }
|
ruff_db = { workspace = true }
|
||||||
ruff_index = { workspace = true }
|
ruff_index = { workspace = true }
|
||||||
ruff_python_ast = { workspace = true }
|
ruff_python_ast = { workspace = true }
|
||||||
ruff_python_stdlib = { workspace = true }
|
ruff_python_stdlib = { workspace = true }
|
||||||
|
@ -34,4 +34,4 @@ ruff_python_parser = { workspace = true }
|
||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
red_knot = ["dep:ruff_db", "dep:salsa", "dep:tracing"]
|
red_knot = ["dep:salsa", "dep:tracing"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue