chore(deps): 🔨 update dependency pylint to v2.14.5
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
pylint (changelog) |
==2.14.0 -> ==2.14.5
|
Release Notes
PyCQA/pylint
v2.14.5
-
Fixed a crash in the
undefined-loop-variable
check whenenumerate()
is used in a ternary expression.Closes #7131
-
Fixed handling of
--
as separator between positional arguments and flags.Closes #7003
-
Fixed the disabling of
fixme
and its interaction withuseless-suppression
. -
Allow lists of default values in parameter documentation for
Numpy
style.Closes #4035
v2.14.4
-
The
differing-param-doc
check was triggered by positional only arguments.Closes #6950
-
Fixed an issue where scanning
.
directory recursively with--ignore-path=^path/to/dir
is not ignoring thepath/to/dir
directory.Closes #6964
-
Fixed regression that didn't allow quoted
init-hooks
in option files.Closes #7006
-
Fixed a false positive for
modified-iterating-dict
when updating an existing key.Closes #6179
-
Fixed an issue where many-core Windows machines (>~60 logical processors) would hang when using the default jobs count.
Closes #6965
-
Fixed an issue with the recognition of
setup.cfg
files. Only.cfg
files that are exactly namedsetup.cfg
require section names that start withpylint.
.Closes #3630
-
Don't report
import-private-name
for relative imports.Closes #7078
v2.14.3
-
Fixed two false positives for
bad-super-call
for calls that refer to a non-direct parent. -
Fixed a false positive for
useless-super-delegation
for subclasses that specify the number of of parameters against a parent that uses a variadic argument.Closes #2270
-
Allow suppressing
undefined-loop-variable
andundefined-variable
without raisinguseless-suppression
. -
Fixed false positive for
undefined-variable
for__class__
in inner methods.Closes #4032
v2.14.2
-
Fixed a false positive for
unused-variable
when a function returns anargparse.Namespace
object.Closes #6895
-
Avoided raising an identical
undefined-loop-variable
message twice on the same line. -
Don't crash if
lint.run._query_cpu()
is run within a Kubernetes Pod, that has only a fraction of a cpu core assigned. Just go with one process then.Closes #6902
-
Fixed a false positive in
consider-using-f-string
if the left side of a%
is not a string.Closes #6689
-
Fixed a false positive in
unnecessary-list-index-lookup
andunnecessary-dict-index-lookup
when the subscript is updated in the body of a nested loop.Closes #6818
-
Fixed an issue with multi-line
init-hook
options which did not record the line endings.Closes #6888
-
Fixed a false positive for
used-before-assignment
when a try block returns but an except handler defines a name via type annotation. -
--errors-only
no longer enables previously disabled messages. It was acting as "emit all and only error messages" without being clearly documented that way.Closes #6811
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 forbad-option-value
will still work on both new messages.Refs #6794
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.