False positive for repeated-keywords when dict item is popped off #7614
Labels
Control flow
Requires control flow understanding
False Positive 🦟
A message is emitted but nothing is wrong with the code
Bug description
We found that if a dictionary is unpacked as arguments to a function, pylint still flags the
repeated-keywords
even if a pop happens on the dictionary in between (meaning that no kwargs are actually repeated)Fairly minimal example:
Configuration
No response
Command used
Pylint output
Expected behavior
No error is flagged for the line
Pylint version
OS / Environment
No response
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: