summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorLaura M?dioni <laura.medioni@logilab.fr>2015-10-29 14:33:24 +0100
committerLaura M?dioni <laura.medioni@logilab.fr>2015-10-29 14:33:24 +0100
commit6cfde34cb1b571993fc9b4c7b82ead994f8c7b95 (patch)
tree80bf1a9bdf034df6b46ec5a4bb666aa2274df871 /ChangeLog
parent928d8b8c9ed8f1d6d2e7cfe5d252c6cde47cff7e (diff)
downloadpylint-6cfde34cb1b571993fc9b4c7b82ead994f8c7b95.tar.gz
check the number of boolean expressions in if statement is reasonnable
--max-bool-expr option allows to configure it (by default, up to 5 are tolerated) closes issue #677
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 39b70c5..63aaa04 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,11 @@ ChangeLog for Pylint
--
+ * Added a new refactoring warning, 'too-many-boolean-expressions',
+ used when a if statement contains too many boolean expressions,
+ which makes the code less maintainable and harder to understand.
+ Closes issue #677.
+
* Property methods are shown as attributes instead of functions in
pyreverse class diagrams. Closes Issue #284