mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-26 11:59:10 +00:00
Update max-pos-args example to max-positional-args. (#9797)
This commit is contained in:
parent
ee5b07d4ca
commit
25d93053da
1 changed files with 5 additions and 1 deletions
|
@ -2763,7 +2763,11 @@ pub struct PylintOptions {
|
|||
/// (see: `PLR0917`).
|
||||
///
|
||||
/// If not specified, defaults to the value of `max-args`.
|
||||
#[option(default = r"3", value_type = "int", example = r"max-pos-args = 3")]
|
||||
#[option(
|
||||
default = r"3",
|
||||
value_type = "int",
|
||||
example = r"max-positional-args = 3"
|
||||
)]
|
||||
pub max_positional_args: Option<usize>,
|
||||
|
||||
/// Maximum number of local variables allowed for a function or method body (see:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue