mirror of https://github.com/astral-sh/ruff
Update max-pos-args example to max-positional-args. (#9797)
This commit is contained in:
parent
ee5b07d4ca
commit
25d93053da
|
|
@ -2763,7 +2763,11 @@ pub struct PylintOptions {
|
||||||
/// (see: `PLR0917`).
|
/// (see: `PLR0917`).
|
||||||
///
|
///
|
||||||
/// If not specified, defaults to the value of `max-args`.
|
/// 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>,
|
pub max_positional_args: Option<usize>,
|
||||||
|
|
||||||
/// Maximum number of local variables allowed for a function or method body (see:
|
/// Maximum number of local variables allowed for a function or method body (see:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue