v2.17.3
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 the
arguments of__init__
.Closes #3670
-
Fix
unused-import
false positive for usage ofsix.with_metaclass
.Closes #7506
-
logging-not-lazy
is not longer emitted for explicitly concatenated string
arguments.Closes #8410
-
Fix false positive for isinstance-second-argument-not-valid-type when union
types contains None.Closes #8424
-
Fixed
unused-import
so that it observes thedummy-variables-rgx
option.Closes #8500
-
Union
typed variables without assignment are no longer treated as
TypeAlias
.Closes #8540
-
Fix false positive for
positional-only-arguments-expected
when a function
contains both a positional-only parameter that has a default value, and
**kwargs
.Closes #8555
-
Fix false positive for
keyword-arg-before-vararg
when a positional-only
parameter with a default value precedes*args
.Closes #8570
Other Bug Fixes
-
Improve output of
consider-using-generator
message formin()` calls with
default`` keyword.Closes #8563