mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 10:48:32 +00:00
Document ruff_dev and format_dev (#5648)
## Summary Document all `ruff_dev` subcommands and document the `format_dev` flags in the formatter readme. CC @zanieb please flag everything that isn't clear or missing ## Test Plan n/a
This commit is contained in:
parent
5665968b42
commit
f0aa6bd4d3
5 changed files with 145 additions and 2 deletions
|
@ -21,7 +21,7 @@ pub(crate) enum Mode {
|
|||
/// Don't write to the file, check if the file is up-to-date and error if not.
|
||||
Check,
|
||||
|
||||
/// Write the generated help to stdout (rather than to `docs/configuration.md`).
|
||||
/// Write the generated help to stdout.
|
||||
DryRun,
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
//! Generate a Markdown-compatible listing of configuration options.
|
||||
//! Generate a Markdown-compatible listing of configuration options for `pyproject.toml`.
|
||||
//!
|
||||
//! Used for <https://beta.ruff.rs/docs/settings/>.
|
||||
use itertools::Itertools;
|
||||
|
||||
use ruff::settings::options::Options;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
//! Generate a Markdown-compatible table of supported lint rules.
|
||||
//!
|
||||
//! Used for <https://beta.ruff.rs/docs/rules/>.
|
||||
|
||||
use itertools::Itertools;
|
||||
use strum::IntoEnumIterator;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue