summaryrefslogtreecommitdiff
path: root/doc/whatsnew
diff options
context:
space:
mode:
authorethan-leba <ethanleba5@gmail.com>2020-05-16 14:34:12 -0400
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2020-08-31 21:16:25 +0200
commit5b6844186f94e5fb4bdc63badbbf49b354912bfd (patch)
tree098dee527d13c3b700f5dd8485552ff72d8c38ac /doc/whatsnew
parent5c84f0dafe79ca1631f70cf8355a5ccc7f9ed232 (diff)
downloadpylint-git-5b6844186f94e5fb4bdc63badbbf49b354912bfd.tar.gz
Add simplifiable-condition and condition-evals-to-constant to the refactoring checker
Diffstat (limited to 'doc/whatsnew')
-rw-r--r--doc/whatsnew/2.6.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/whatsnew/2.6.rst b/doc/whatsnew/2.6.rst
index 369b3fe99..54239d7f3 100644
--- a/doc/whatsnew/2.6.rst
+++ b/doc/whatsnew/2.6.rst
@@ -17,6 +17,10 @@ New checkers
* Add `raise-missing-from` check for exceptions that should have a cause.
+* Add `simplifiable-condition` check for extraneous constants in conditionals using and/or.
+
+* Add `condition-evals-to-constant` check for conditionals using and/or that evaluate to a constant.
+
Other Changes
=============