summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorClaudiu Popa <cpopa@cloudbasesolutions.com>2015-05-23 20:11:55 +0300
committerClaudiu Popa <cpopa@cloudbasesolutions.com>2015-05-23 20:11:55 +0300
commited9464cf8e04f762d60d0d4bca28538007b62023 (patch)
treee626341fa97893eeeec99c962c9cfc1371c777e4 /ChangeLog
parent2993179166fd57ed8322cde31c3cf0b785f094a6 (diff)
downloadpylint-ed9464cf8e04f762d60d0d4bca28538007b62023.tar.gz
Add a new warning, 'using-constant-test'.
This new warning is emitted when a conditional statement (If, IfExp) uses a test which is always constant, such as numbers, classes, functions etc. This is most likely an error from the user's part. Closes issue #524.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a3dcb48..0a6db90 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -140,6 +140,11 @@ ChangeLog for Pylint
* Don't emit undefined-variable if the node is guarded by a NameError, Exception
or bare except clause.
+
+ * Add a new warning, 'using-constant-test', which is emitted when a conditional
+ statement (If, IfExp) uses a test which is always constant, such as numbers,
+ classes, functions etc. This is most likely an error from the user's part.
+ Closes issue #524.
2015-03-14 -- 1.4.3