mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-19 16:50:45 +00:00
Hide autoformat argument
This commit is contained in:
parent
6e19539e28
commit
3fb4cf7009
1 changed files with 4 additions and 3 deletions
|
@ -89,12 +89,13 @@ struct Cli {
|
|||
/// Enable automatic additions of noqa directives to failing lines.
|
||||
#[arg(long)]
|
||||
add_noqa: bool,
|
||||
/// Enable automatic formatting.
|
||||
#[arg(long)]
|
||||
autoformat: bool,
|
||||
/// Regular expression matching the name of dummy variables.
|
||||
#[arg(long)]
|
||||
dummy_variable_rgx: Option<Regex>,
|
||||
/// Round-trip auto-formatting.
|
||||
// TODO(charlie): This should be a sub-command.
|
||||
#[arg(long, hide = true)]
|
||||
autoformat: bool,
|
||||
}
|
||||
|
||||
#[cfg(feature = "update-informer")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue