diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-10-26 16:10:45 +0000 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-10-26 16:10:45 +0000 |
commit | 516dfd89d2ee8aca773cd09e71a608354100debc (patch) | |
tree | 97f8cae0eb0017c1b02a64b2d4e5925eadfbfb75 | |
parent | 5dcbd07be9af4b20efcef9577e47528688a0b1d4 (diff) | |
download | pylint-516dfd89d2ee8aca773cd09e71a608354100debc.tar.gz |
Add a Changelog entry for misplaced-comparison-constant.
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |