pylint-errors

R0913 (too-many-arguments)

:x: Problematic code:

def foo(a, b, c, d, e, f, g, h, i, j):
    pass

:heavy_check_mark: Correct code:

def foo(*args):
    pass

Rationale:

Used when a function or method takes too many arguments.