third_party.pylibs.pylint.src/doc/whatsnew/2.2.rst
ssolanki 28a2690021 fix false positive `undefined-variable`
and ``used-before-assignment`` with nonlocal keyword usage.

incorporate review comments

fix existing test case
2018-08-17 11:43:02 +05:30

27 lines
574 B
ReStructuredText

**************************
What's New in Pylint 2.2
**************************
:Release: 2.2
:Date: TBA
Summary -- Release highlights
=============================
New checkers
============
Other Changes
=============
* Ignore import x.y.z as z cases for checker `useless-import-alias`.
* `unnecessary-pass` is now also emitted when a function or class contains only docstring and pass statement,
in which case, docstring is enough for empty definition.
* Fix false positive ``undefined-variable`` and ``used-before-assignment`` with nonlocal keyword usage.