summaryrefslogtreecommitdiff
path: root/doc/whatsnew/2.8.rst
blob: 9b1c036cfa50ba94172ee085e9e4173e595a0cec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
**************************
 What's New in Pylint 2.8
**************************

:Release: 2.8
:Date: undefined

Summary -- Release highlights
=============================


New checkers
============

* Add ``deprecated-argument`` check for deprecated arguments.

* Add new extension ``ConfusingConsecutiveElifChecker``. This optional checker emits a refactoring message (R5601 ``confusing-consecutive-elif``)
  if if/elif statements with different indentation levels follow directly one after the other.

Other Changes
=============

* Reduce usage of blacklist/whitelist terminology. Notably, ``extension-pkg-allow-list`` is an
  alternative to ``extension-pkg-whitelist`` and the message ``blacklisted-name`` is now emitted as
  ``disallowed-name``. The previous names are accepted to maintain backward compatibility.

* The packaging is now done via setuptools exclusively. ``doc``, ``tests``, ``man``, ``elisp`` and ``Changelog`` are
  not packaged anymore - reducing the size of the package by 75%.

* The 'doc' extra-require has been removed. ``pylint.version`` is now ``pylint.__version__`` and ``__pkginfo__`` does
  not contain the package metadata anymore.

* Updated ``astroid`` to 2.5.3