-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split off ruff_cli crate from ruff library
This lets you test the ruff linters or use the ruff library without having to compile the ~100 additional dependencies that are needed by the CLI. Because we set the following in the [workspace] section of Cargo.toml: default-members = [".", "ruff_cli"] `cargo run` still runs the CLI and `cargo test` still tests the code in src/ as well as the code in the new ruff_cli crate. (But you can now also run `cargo test -p ruff` to only test the linters.)
- v0.4.10
- v0.4.9
- v0.4.8
- v0.4.7
- v0.4.6
- v0.4.5
- v0.4.4
- v0.4.3
- v0.4.2
- v0.4.1
- v0.4.0
- v0.3.7
- v0.3.6
- v0.3.5
- v0.3.4
- v0.3.3
- v0.3.2
- v0.3.1
- v0.3.0
- v0.2.2
- v0.2.1
- v0.2.0
- v0.1.15
- v0.1.14
- v0.1.13
- v0.1.12
- v0.1.11
- v0.1.10
- v0.1.9
- v0.1.8
- v0.1.7
- v0.1.6
- v0.1.5
- v0.1.4
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1.0
- v0.0.292
- v0.0.291
- v0.0.290
- v0.0.289
- v0.0.288
- v0.0.287
- v0.0.286
- v0.0.285
- v0.0.284
- v0.0.283
- v0.0.282
- v0.0.281
- v0.0.280
- v0.0.279
- v0.0.278
- v0.0.277
- v0.0.276
- v0.0.275
- v0.0.274
- v0.0.273
- v0.0.272
- v0.0.271
- v0.0.270
- v0.0.269
- v0.0.268
- v0.0.267
- v0.0.266
- v0.0.265
- v0.0.264
- v0.0.263
- v0.0.262
- v0.0.261
- v0.0.260
- v0.0.259
- v0.0.258
- v0.0.257
- v0.0.256
- v0.0.255
- v0.0.254
- v0.0.253
- v0.0.252
- v0.0.251
- v0.0.250
- v0.0.249
- v0.0.248
- v0.0.247
- v0.0.246
- v0.0.245
- v0.0.244
- v0.0.243
- v0.0.242
- v0.0.241
- v0.0.240
- v0.0.239
- v0.0.238
- v0.0.237
- v0.0.236
- v0.0.235
- v0.0.234
- v0.0.233
- v0.0.232
- v0.0.231
- v0.0.230
- v0.0.229
- v0.0.228
- v0.0.227
- v0.0.226
- v0.0.225
- v0.0.224
- v0.0.223
- v0.0.222
- v0.0.221
- 0.9.6
- 0.9.5
- 0.9.4
- 0.9.3
- 0.9.2
- 0.9.1
- 0.9.0
- 0.8.6
- 0.8.5
- 0.8.4
- 0.8.3
- 0.8.2
- 0.8.1
- 0.8.0
- 0.7.4
- 0.7.3
- 0.7.2
- 0.7.1
- 0.7.0
- 0.6.9
- 0.6.8
- 0.6.7
- 0.6.6
- 0.6.5
- 0.6.4
- 0.6.3
- 0.6.2
- 0.6.1
- 0.6.0
- 0.5.7
- 0.5.6
- 0.5.5
- 0.5.4
- 0.5.3
- 0.5.2
- 0.5.1
- 0.5.0
1 parent
403a004
commit 82aff5f
Showing
27 changed files
with
330 additions
and
282 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
[package] | ||
name = "ruff_cli" | ||
version = "0.0.220" | ||
authors = ["Charlie Marsh <[email protected]>"] | ||
edition = "2021" | ||
rust-version = "1.65.0" | ||
documentation = "https://github.com/charliermarsh/ruff" | ||
homepage = "https://github.com/charliermarsh/ruff" | ||
repository = "https://github.com/charliermarsh/ruff" | ||
readme = "../README.md" | ||
license = "MIT" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[[bin]] | ||
name = "ruff" | ||
path = "src/main.rs" | ||
doctest = false | ||
|
||
[dependencies] | ||
ruff = { path = ".." } | ||
|
||
annotate-snippets = { version = "0.9.1", features = ["color"] } | ||
anyhow = { version = "1.0.66" } | ||
atty = { version = "0.2.14" } | ||
bincode = { version = "1.3.3" } | ||
cachedir = { version = "0.3.0" } | ||
chrono = { version = "0.4.21", default-features = false, features = ["clock"] } | ||
clap = { version = "4.0.1", features = ["derive", "env"] } | ||
clap_complete_command = { version = "0.4.0" } | ||
clearscreen = { version = "2.0.0" } | ||
colored = { version = "2.0.0" } | ||
filetime = { version = "0.2.17" } | ||
glob = { version = "0.3.0" } | ||
ignore = { version = "0.4.18" } | ||
itertools = { version = "0.10.5" } | ||
log = { version = "0.4.17" } | ||
notify = { version = "5.0.0" } | ||
path-absolutize = { version = "3.0.14", features = ["once_cell_cache"] } | ||
quick-junit = { version = "0.3.2" } | ||
rayon = { version = "1.5.3" } | ||
regex = { version = "1.6.0" } | ||
rustc-hash = { version = "1.1.0" } | ||
serde = { version = "1.0.147", features = ["derive"] } | ||
serde_json = { version = "1.0.87" } | ||
similar = { version = "2.2.1" } | ||
textwrap = { version = "0.16.0" } | ||
update-informer = { version = "0.6.0", default-features = false, features = ["pypi"], optional = true } | ||
walkdir = { version = "2.3.2" } | ||
|
||
[dev-dependencies] | ||
assert_cmd = { version = "2.0.4" } | ||
strum = { version = "0.24.1" } | ||
ureq = { version = "2.5.0", features = [] } | ||
|
||
[features] | ||
default = ["update-informer"] | ||
update-informer = ["dep:update-informer"] | ||
|
||
[package.metadata.maturin] | ||
name = "ruff" | ||
# Setting the name here is necessary for maturin to include the package in its builds. |
Oops, something went wrong.