-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pylint
] Implement too-many-positional
(PLR0917
)
#8995
[pylint
] Implement too-many-positional
(PLR0917
)
#8995
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, just gonna tweak a bit before merging. This'll go out later today.
pylint
] Implement too-many-positional
(PLR0917
)
46097ba
to
372e369
Compare
|
code | total | + violation | - violation | + fix | - fix |
---|---|---|---|---|---|
PLR0917 | 3176 | 3176 | 0 | 0 | 0 |
RUF100 | 1 | 0 | 1 | 0 | 0 |
Summary
Adds a rule that bans too many positional (i.e. not keyword-only) parameters in function definitions.
Fixes #8946
Rule ID code taken from pylint-dev/pylint#9278
Test Plan