summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorhippo91 <guillaume.peillex@gmail.com>2018-06-29 00:15:40 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2018-06-28 15:15:40 -0700
commited48b8a4e4903a553af9ce0b2b26572c94a20e95 (patch)
tree5dc439bde382d96eceb0efb23196c2f2e8193a7a /doc
parentc3e2d5e03d0122e544183f1c2c66ef68066283c8 (diff)
downloadpylint-git-ed48b8a4e4903a553af9ce0b2b26572c94a20e95.tar.gz
Fix of false positive ``ìnconsistent-return-statements`` (#2220)
Correcting the way if statements are determined as return ended or not. Close #1782
Diffstat (limited to 'doc')
-rw-r--r--doc/whatsnew/2.0.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/whatsnew/2.0.rst b/doc/whatsnew/2.0.rst
index e1c8620ec..0128f19e1 100644
--- a/doc/whatsnew/2.0.rst
+++ b/doc/whatsnew/2.0.rst
@@ -220,6 +220,9 @@ New checkers
Other Changes
=============
+* Fix a false positive ``inconsistent-return-statements`` message when exception is raised inside
+ an else statement.
+
* Don't warn for ``missing-type-doc`` and/or ``missing-return-type-doc``, if type annotations
exist on the function signature for a parameter and/or return type.