C0201 consider-iterating-dictionary

Message

'Consider iterating the dictionary directly instead of calling .keys()'

Description

Emitted when the keys of a dictionary are iterated through the .keys() method. It is enough to just iterate through the dictionary itself, as in “for key in dictionary”.