Pattern: Redeclaring assigned name
Issue: -
Detects that a name was assigned one or multiple times in the same assignment, which indicate a potential bug.
Example of incorrect code:
FIRST, FIRST = (1, 2) # [redeclared-assigned-name]
Example of correct code:
FIRST, SECOND = (1, 2)