2018-08-09 08:39:05 +00:00
|
|
|
**************************
|
|
|
|
What's New in Pylint 2.2
|
|
|
|
**************************
|
|
|
|
|
|
|
|
:Release: 2.2
|
|
|
|
:Date: TBA
|
|
|
|
|
|
|
|
Summary -- Release highlights
|
|
|
|
=============================
|
|
|
|
|
|
|
|
|
|
|
|
New checkers
|
|
|
|
============
|
|
|
|
|
|
|
|
|
|
|
|
Other Changes
|
|
|
|
=============
|
|
|
|
|
2018-08-12 09:26:12 +00:00
|
|
|
* Ignore import x.y.z as z cases for checker `useless-import-alias`.
|
|
|
|
|
2018-08-09 08:39:05 +00:00
|
|
|
* `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.
|
|
|
|
|
2018-08-10 14:39:14 +00:00
|
|
|
* Fix false positive ``undefined-variable`` and ``used-before-assignment`` with nonlocal keyword usage.
|
|
|
|
|
2018-08-22 06:57:16 +00:00
|
|
|
* Fix exceptions being raised when one of the params is not a ClassDef for :func:`checkers.utils.is_subclass_of`.
|
2018-08-22 07:33:44 +00:00
|
|
|
|
|
|
|
* ``pylint`` now picks the latest value from the inferred values of the exception that gets
|
|
|
|
raised, when looking for ``raising-non-exception``. This helps when reusing a variable name
|
|
|
|
for multiple types, since ``pylint`` was picking just the first inferred value, leading
|
|
|
|
to spurious false positives.
|
|
|
|
|
|
|
|
Close #2431
|