Micha Reiser
cd8be8c0be
refactor: Introduce crates folder ( #2088 )
...
This PR introduces a new `crates` directory and moves all "product" crates into that folder.
Part of #2059 .
2023-02-05 16:47:48 -05:00
Charlie Marsh
924e35b1c3
Add print_stdout
and print_stderr
to Clippy enforcement ( #2542 )
2023-02-03 11:13:44 -05:00
Jonathan Plasse
bdcab87d2f
Add markdownlint
and dev Ruff to pre-commit
( #2303 )
2023-02-02 16:29:07 -05:00
Charlie Marsh
64fb0bd2cc
Include both ruff help
and ruff help check
in README ( #2325 )
2023-01-29 17:01:15 -05:00
Martin Fischer
d9ead4e6df
refactor: Rename CLI arg structs from Cli to Args
...
Technically the command-line interface (CLI) encompasses both input and
output, so naming the input structs 'Args' is more accurate than 'Cli'.
2023-01-25 22:08:35 -05:00
Martin Fischer
a181ca7a3d
Reduce the API of ruff_cli to ruff_cli::help()
2023-01-14 10:11:30 -05:00
Martin Fischer
82aff5f9ec
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.)
2023-01-13 21:37:54 -05:00
Martin Fischer
2045b739a9
Stop highlighting --help output in README as shell ( #1655 )
...
This PR is meant to address the following obviously unintended GitHub
rendering:

2023-01-05 09:46:49 -05:00
Charlie Marsh
248447e139
Trim CLI help during generation ( #1492 )
2022-12-30 22:03:58 -05:00
Reiner Gerecke
c9aa7b9308
Generate the README's --help output automatically via cargo +nightly dev generate-all ( #1483 )
2022-12-30 15:06:32 -05:00