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 (R5601confusing-consecutive-elif
) if if/elif statements with different indentation levels follow directly one after the other.Add
consider-using-min-max-builtin
check for if statement which could be replaced by Python builtin min or max.
Other Changes¶
Reduce usage of blacklist/whitelist terminology. Notably,
extension-pkg-allow-list
is an alternative toextension-pkg-whitelist
and the messageblacklisted-name
is now emitted asdisallowed-name
. The previous names are accepted to maintain backward compatibility.The packaging is now done via setuptools exclusively.
doc
,tests
,man
,elisp
andChangelog
are not packaged anymore - reducing the size of the package by 75%.The 'doc' extra-require has been removed.
pylint.version
is nowpylint.__version__
and__pkginfo__
does not contain the package metadata anymore.Updated
astroid
to 2.5.3COPYING has been renamed to LICENSE for standardization.