-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
questionAsking for support or clarificationAsking for support or clarification
Description
...unless this is expected behavior (both Ruff and Pylint's docs never specify if this check is for positional args only).
def f(a, b, c, d, e, *, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t):
...
def g(a, b, c, d, e, f):
...test.py:5:5: PLR0913 Too many arguments to function call (6 > 5)
If this is to be expected then I think it would be good to specify this rule is posargs only :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionAsking for support or clarificationAsking for support or clarification