From 66d387562b7f9d3ddc3e35c8fc208b08f6580bfe Mon Sep 17 00:00:00 2001 From: Emil Telstad <22004178+emilte@users.noreply.github.com> Date: Fri, 2 Feb 2024 21:19:47 +0100 Subject: [PATCH] Update max-pos-args example to max-positional-args. --- crates/ruff_workspace/src/options.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/crates/ruff_workspace/src/options.rs b/crates/ruff_workspace/src/options.rs index a6b0cdd9ba7af..03a2d585248a6 100644 --- a/crates/ruff_workspace/src/options.rs +++ b/crates/ruff_workspace/src/options.rs @@ -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: