Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

repeated_keyword.py 311B

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