mirror of https://github.com/astral-sh/ruff
Clarify special control flow parameters for `PLR0917`: `too-many-positional` (#11978)
This commit is contained in:
parent
375d2c87b2
commit
0c8b5eb17a
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue