summaryrefslogtreecommitdiff
path: root/pylint/test/functional/consider_using_enumerate.py
Commit message (Collapse)AuthorAgeFilesLines
* Add a new convention message, 'consider-using-enumerate'Claudiu Popa2015-10-271-0/+43
The message is emitted when code that uses `range` and `len` for iterating is encountered, which can be easily simplified by using `enumerate` instead. This makes the code a bit faster and cleaner. Closes issue #684.