diff options
author | hippo91 <guillaume.peillex@gmail.com> | 2018-06-29 00:15:40 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2018-06-28 15:15:40 -0700 |
commit | ed48b8a4e4903a553af9ce0b2b26572c94a20e95 (patch) | |
tree | 5dc439bde382d96eceb0efb23196c2f2e8193a7a /doc | |
parent | c3e2d5e03d0122e544183f1c2c66ef68066283c8 (diff) | |
download | pylint-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.rst | 3 |
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. |