This is what pylint warns about:
def f(a=1, *args, **kwargs):
pass
f(1, a=1)
Traceback (most recent call last):
f(1, a=1)
~^^^^^^^^
TypeError: f() got multiple values for argument 'a'
Whether this error could happen depends on what circumstances a function used in.