diff options
author | Robert Schweizer <robert_schweizer@gmx.de> | 2019-08-15 12:53:20 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2019-09-10 10:50:08 +0200 |
commit | fb81d1ade4f0c87039c828f9aed94469691d825d (patch) | |
tree | a1446556a10fbdcdb3df1af50139faab64b6707c /doc | |
parent | ca54a1a87f6382c68287ebc1996312ceb921f16c (diff) | |
download | pylint-git-fb81d1ade4f0c87039c828f9aed94469691d825d.tar.gz |
Report unnecessary else after continue and break
Close #2327
Diffstat (limited to 'doc')
-rw-r--r-- | doc/whatsnew/2.4.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/whatsnew/2.4.rst b/doc/whatsnew/2.4.rst index 4c279ca9a..e5bee7942 100644 --- a/doc/whatsnew/2.4.rst +++ b/doc/whatsnew/2.4.rst @@ -28,6 +28,13 @@ New checkers Close #2975 +* Added new checks, ``no-else-break`` and ``no-else-continue`` + + These checks highlight unnecessary ``else`` and ``elif`` blocks after + ``break`` and ``continue`` statements. + + Close #2327 + * Added `unnecessary-comprehension` that detects unnecessary comprehensions. This check is emitted when ``pylint`` finds list-, set- or dict-comprehensions, |