mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 12:55:05 +00:00
Hide rule configuration settings on CLI (#2687)
This commit is contained in:
parent
0f622f0126
commit
54d1719424
2 changed files with 3 additions and 11 deletions
|
@ -187,14 +187,14 @@ pub struct CheckArgs {
|
|||
#[clap(long, overrides_with("force_exclude"), hide = true)]
|
||||
no_force_exclude: bool,
|
||||
/// The minimum Python version that should be supported.
|
||||
#[arg(long, help_heading = "Rule configuration")]
|
||||
#[arg(long, help_heading = "Rule configuration", hide = true)]
|
||||
pub target_version: Option<PythonVersion>,
|
||||
/// Set the line-length for length-associated rules and automatic
|
||||
/// formatting.
|
||||
#[arg(long, help_heading = "Rule configuration")]
|
||||
#[arg(long, help_heading = "Rule configuration", hide = true)]
|
||||
pub line_length: Option<usize>,
|
||||
/// Regular expression matching the name of dummy variables.
|
||||
#[arg(long, help_heading = "Rule configuration")]
|
||||
#[arg(long, help_heading = "Rule configuration", hide = true)]
|
||||
pub dummy_variable_rgx: Option<Regex>,
|
||||
/// Disable cache reads.
|
||||
#[arg(short, long, help_heading = "Miscellaneous")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue