mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 18:58:04 +00:00

This replaces things like `TypeCheckDiagnostic` with the new Diagnostic` type. This is a "surgical" replacement where we retain the existing API of of diagnostic reporting such that _most_ of Red Knot doesn't need to be changed to support this update. But it will enable us to start using the new diagnostic renderer and to delete the old renderer. It also paves the path for exposing the new `Diagnostic` data model to the broader Red Knot codebase.
39 lines
1.1 KiB
TOML
39 lines
1.1 KiB
TOML
[package]
|
|
name = "red_knot_test"
|
|
version = "0.0.0"
|
|
publish = false
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
homepage.workspace = true
|
|
documentation.workspace = true
|
|
repository.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
red_knot_python_semantic = { workspace = true, features = ["serde"] }
|
|
red_knot_vendored = { workspace = true }
|
|
ruff_db = { workspace = true, features = ["os", "testing"] }
|
|
ruff_index = { workspace = true }
|
|
ruff_notebook = { workspace = true }
|
|
ruff_python_trivia = { workspace = true }
|
|
ruff_source_file = { workspace = true }
|
|
ruff_text_size = { workspace = true }
|
|
ruff_python_ast = { workspace = true }
|
|
|
|
anyhow = { workspace = true }
|
|
camino = { workspace = true }
|
|
colored = { workspace = true }
|
|
insta = { workspace = true, features = ["filters"] }
|
|
memchr = { workspace = true }
|
|
regex = { workspace = true }
|
|
rustc-hash = { workspace = true }
|
|
salsa = { workspace = true }
|
|
smallvec = { workspace = true }
|
|
serde = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
toml = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|