v2.14.1
-
Avoid reporting
unnecessary-dict-index-lookup
orunnecessary-list-index-lookup
when the index lookup is part of a destructuring assignment.Closes #6788
-
Fixed parsing of unrelated options in
tox.ini
.Closes #6800
-
Fixed a crash when linting
__new__()
methods that return a call expression.Closes #6805
-
Don't crash if we can't find the user's home directory.
Closes #6802
-
Fixed false positives for
unused-import
when aliasingtyping
e.g. ast
and guarding imports undert.TYPE_CHECKING
.Closes #3846
-
Fixed a false positive regression in 2.13 for
used-before-assignment
where it is safe to rely
on a name defined only in anexcept
block because theelse
block returned.Closes #6790
-
Fixed the use of abbreviations for some special options on the command line.
Closes #6810
-
Fix a crash in the optional
pylint.extensions.private_import
extension.Closes #6624
-
bad-option-value
(E0012) is now a warningunknown-option-value
(W0012). Deleted messages that do not exist
anymore in pylint now raiseuseless-option-value
(R0022) instead ofbad-option-value
. This allows to
distinguish between genuine typos and configuration that could be cleaned up. Existing message disables for
bad-option-value
will still work on both new messages.Refs #6794