repeated-keyword / E1132#

Message emitted:

Got multiple values for keyword argument %r in function call

Description:

Emitted when a function call got multiple values for a keyword.

Correct code:

def func(a, b, c):
    return a, b, c


func(1, 2, c=3)

Problematic code:

def func(a, b, c):
    return a, b, c


func(1, 2, c=3, **{"c": 4})  # [repeated-keyword]
func(1, 2, **{"c": 3}, **{"c": 4})  # [repeated-keyword]

Created by the typecheck checker.