summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2015-10-27 16:53:27 +0000
committerClaudiu Popa <pcmanticore@gmail.com>2015-10-27 16:53:27 +0000
commit65fb626ade8636a13e1ecafbcc4611ce545cc72a (patch)
treecec85ad3e9b0ef90c2766398fbff441838ceecc8 /ChangeLog
parentc4e7c46703e54c7dfff51a984db85da1f09abc3c (diff)
downloadpylint-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--ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5e21556..7f44f14 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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