Improve documentation for PLR0917
around keyword only parameters
#11868
Labels
documentation
Improvements or additions to documentation
By the document,
PLR0917
shall only happen in a function call, not in the function definition.https://docs.astral.sh/ruff/rules/too-many-positional/
But in the tests, it will fail in the function definition.
From the tests, it's more like
too-many-no-default
rather thantoo-many-positional
https://github.com/astral-sh/ruff/blob/main/crates/ruff_linter/resources/test/fixtures/pylint/too_many_positional.py
The text was updated successfully, but these errors were encountered: