mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-07 21:25:08 +00:00

Some checks are pending
CI / cargo build (msrv) (push) Blocked by required conditions
CI / cargo fuzz build (push) Blocked by required conditions
CI / Determine changes (push) Waiting to run
CI / cargo fmt (push) Waiting to run
CI / cargo clippy (push) Blocked by required conditions
CI / cargo test (linux) (push) Blocked by required conditions
CI / cargo test (linux, release) (push) Blocked by required conditions
CI / cargo test (windows) (push) Blocked by required conditions
CI / cargo test (wasm) (push) Blocked by required conditions
CI / cargo build (release) (push) Waiting to run
CI / fuzz parser (push) Blocked by required conditions
CI / test scripts (push) Blocked by required conditions
CI / ecosystem (push) Blocked by required conditions
CI / cargo shear (push) Blocked by required conditions
CI / python package (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / mkdocs (push) Waiting to run
CI / formatter instabilities and black similarity (push) Blocked by required conditions
CI / test ruff-lsp (push) Blocked by required conditions
CI / check playground (push) Blocked by required conditions
CI / benchmarks (push) Blocked by required conditions
[Knot Playground] Release / publish (push) Waiting to run
## Summary This is more "because we can" than something we need. But since we're already building an "almost IDE" ## Test Plan https://github.com/user-attachments/assets/3a4bdad1-ba32-455a-9909-cfeb8caa1b28
72 lines
1.8 KiB
TOML
72 lines
1.8 KiB
TOML
[package]
|
|
name = "ruff_python_formatter"
|
|
version = "0.0.0"
|
|
publish = false
|
|
authors = { workspace = true }
|
|
edition = { workspace = true }
|
|
rust-version = { workspace = true }
|
|
homepage = { workspace = true }
|
|
documentation = { workspace = true }
|
|
repository = { workspace = true }
|
|
license = { workspace = true }
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
ruff_cache = { workspace = true }
|
|
ruff_db = { workspace = true }
|
|
ruff_formatter = { workspace = true }
|
|
ruff_macros = { workspace = true }
|
|
ruff_python_trivia = { workspace = true }
|
|
ruff_source_file = { workspace = true }
|
|
ruff_python_ast = { workspace = true }
|
|
ruff_python_parser = { workspace = true }
|
|
ruff_text_size = { workspace = true }
|
|
|
|
anyhow = { workspace = true }
|
|
clap = { workspace = true }
|
|
countme = { workspace = true }
|
|
itertools = { workspace = true }
|
|
memchr = { workspace = true }
|
|
regex = { workspace = true }
|
|
rustc-hash = { workspace = true }
|
|
salsa = { workspace = true }
|
|
serde = { workspace = true, optional = true }
|
|
schemars = { workspace = true, optional = true }
|
|
smallvec = { workspace = true }
|
|
static_assertions = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
ruff_formatter = { workspace = true }
|
|
|
|
insta = { workspace = true, features = ["glob"] }
|
|
regex = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
similar = { workspace = true }
|
|
|
|
[package.metadata.cargo-shear]
|
|
# Used via `CacheKey` macro expansion.
|
|
ignored = ["ruff_cache"]
|
|
|
|
[[test]]
|
|
name = "ruff_python_formatter_fixtures"
|
|
path = "tests/fixtures.rs"
|
|
test = true
|
|
required-features = ["serde"]
|
|
|
|
[features]
|
|
default = ["serde"]
|
|
serde = [
|
|
"dep:serde",
|
|
"ruff_formatter/serde",
|
|
"ruff_source_file/serde",
|
|
"ruff_python_ast/serde",
|
|
]
|
|
schemars = ["dep:schemars", "ruff_formatter/schemars"]
|
|
|
|
[lints]
|
|
workspace = true
|