blob: 786c53babe5bd99bb7f1d3a1fe8142fd5f07f247 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
"""Check that a keyword is not repeated in a function call
This is somehow related to redundant-keyword, but it's not the same.
"""
# pylint: disable=missing-docstring, invalid-name
def test(a, b):
return a, b
test(1, 24)
test(1, b=24, **{})
test(1, b=24, **{'b': 24}) # [repeated-keyword]
|