blob: c60b1178413f928f4b042cc2824710b301e35d83 [file] [log] [blame]
"""Check for duplicate function arguments."""
def foo1(_, _): # [duplicate-argument-name, duplicate-argument-name]
"""Function with duplicate argument name."""
def foo2(_abc, *, _abc): # [duplicate-argument-name, duplicate-argument-name]
"""Function with duplicate argument name."""
def foo3(_, _=3): # [duplicate-argument-name, duplicate-argument-name]
"""Function with duplicate argument name."""
def foo4(_, *, _): # [duplicate-argument-name, duplicate-argument-name]
"""Function with duplicate argument name."""