Bump pylint to 2.17.3, update changelog #8620
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What's new in Pylint 2.17.3?
Release date: 2023-04-24
False Positives Fixed
Fix
unused-argument
false positive when__new__
does not use all thearguments of
__init__
.Closes unused-argument for required argument in __new__ #3670
Fix
unused-import
false positive for usage ofsix.with_metaclass
.Closes False positive of unused-import since v2.15.0 #7506
logging-not-lazy
is not longer emitted for explicitly concatenated stringarguments.
Closes Pylint should not emit
logging-not-lazy
when using explicit string concatenation for the message #8410Fix false positive for isinstance-second-argument-not-valid-type when union
types contains None.
Closes
isinstance-second-argument-not-valid-type
false positive for union types withNone
#8424Fixed
unused-import
so that it observes thedummy-variables-rgx
option.Closes
unused-import
should observedummy-variables-rgx
setting #8500Union
typed variables without assignment are no longer treated asTypeAlias
.Closes
invalid-name
type alias false-positive for union variables without assignment values #8540Fix false positive for
positional-only-arguments-expected
when a functioncontains both a positional-only parameter that has a default value, and
**kwargs
.Closes False positive for
positional-only-arguments-expected
#8555Fix false positive for
keyword-arg-before-vararg
when a positional-onlyparameter with a default value precedes
*args
.Closes False positive for
keyword-arg-before-vararg
withpositional-only
parameter #8570Other Bug Fixes
Improve output of
consider-using-generator
message formin()` calls with
default`` keyword.Closes consider-using-generator error message ignores default arguments #8563