Update max-pos-args example to max-positional-args. (#9797)

This commit is contained in:
Emil Telstad 2024-02-02 21:29:13 +01:00 committed by GitHub
parent ee5b07d4ca
commit 25d93053da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: