False negative unnecessary-list-index-lookup
with iterable
kwarg
#7770
Labels
False Negative 🦋
No message is emitted but something is wrong with the code
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Milestone
Bug description
While there are plenty of tests for unnecessary_list_index_lookup, looks like missing is the case for using
iterable
as a kwargSame code with iterable as an arg correctly reports and is tested.
Configuration
No response
Command used
Pylint output
Expected behavior
test.py:4:10: R1736: Unnecessary list index lookup, use 'val' instead (unnecessary-list-index-lookup)
Pylint version
OS / Environment
No response
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: