unnecessary-list-index-lookup inconsistent when assigning to iterating object in iterable unpacking #6788
Labels
False Positive 🦟
A message is emitted but nothing is wrong with the code
Milestone
Bug description
Configuration
No response
Command used
Pylint output
Expected behavior
I would expect the output for both loops to be the same. The latter loop leads to an unnecessary-list-index-lookup though.
Pylint version
OS / Environment
Ubuntu 20.04
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: