summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2015-10-26 16:10:45 +0000
committerClaudiu Popa <pcmanticore@gmail.com>2015-10-26 16:10:45 +0000
commit516dfd89d2ee8aca773cd09e71a608354100debc (patch)
tree97f8cae0eb0017c1b02a64b2d4e5925eadfbfb75 /ChangeLog
parent5dcbd07be9af4b20efcef9577e47528688a0b1d4 (diff)
downloadpylint-516dfd89d2ee8aca773cd09e71a608354100debc.tar.gz
Add a Changelog entry for misplaced-comparison-constant.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 62a973f..5e21556 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -358,6 +358,13 @@ ChangeLog for Pylint
* --enable=all can now be used. Closes issue #142.
+ * Add a new convention message, 'misplaced-comparison-constant',
+ emitted when a constant is placed in the left hand side of a comparison,
+ as in '5 == func()'. This is also called Yoda condition, since the
+ flow of code reminds of the Star Wars green character, conditions usually
+ encountered in languages with variabile assignments in conditional
+ statements.
+
2015-03-14 -- 1.4.3