Skip to content

Commit

Permalink
Update max-pos-args example to max-positional-args. (#9797)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilte authored Feb 2, 2024
1 parent ee5b07d commit 25d9305
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crates/ruff_workspace/src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 25d9305

Please sign in to comment.