From 0c8b5eb17af86972d228e04d25b2dd4b3055963a Mon Sep 17 00:00:00 2001 From: Gilles Peiffer Date: Sun, 23 Jun 2024 17:16:09 +0200 Subject: [PATCH] Clarify special control flow parameters for `PLR0917`: `too-many-positional` (#11978) --- .../ruff_linter/src/rules/pylint/rules/too_many_positional.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ruff_linter/src/rules/pylint/rules/too_many_positional.rs b/crates/ruff_linter/src/rules/pylint/rules/too_many_positional.rs index 27d73583ea..6589076a0e 100644 --- a/crates/ruff_linter/src/rules/pylint/rules/too_many_positional.rs +++ b/crates/ruff_linter/src/rules/pylint/rules/too_many_positional.rs @@ -18,8 +18,8 @@ use crate::checkers::ast::Checker; /// readers than providing arguments by name. /// /// Consider refactoring functions with many arguments into smaller functions -/// with fewer arguments, using objects to group related arguments, or -/// migrating to keyword-only arguments. +/// with fewer arguments, using objects to group related arguments, or migrating to +/// [keyword-only arguments](https://docs.python.org/3/tutorial/controlflow.html#special-parameters). /// /// ## Example /// ```python