diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-10-27 16:53:27 +0000 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-10-27 16:53:27 +0000 |
commit | 65fb626ade8636a13e1ecafbcc4611ce545cc72a (patch) | |
tree | cec85ad3e9b0ef90c2766398fbff441838ceecc8 /ChangeLog | |
parent | c4e7c46703e54c7dfff51a984db85da1f09abc3c (diff) | |
download | pylint-65fb626ade8636a13e1ecafbcc4611ce545cc72a.tar.gz |
Add a new convention message, 'consider-using-enumerate'
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -365,6 +365,10 @@ ChangeLog for Pylint encountered in languages with variabile assignments in conditional statements. + * Add a new convention message, 'consider-using-enumerate', which is + emitted when code that uses `range` and `len` for iterating is encountered. + Closes issue #684. + 2015-03-14 -- 1.4.3 |