What's new in Pylint 3.2.4?
Release date: 2024-06-26
False Positives Fixed
-
Prevent emitting
possibly-used-before-assignment
when relying on names
only potentially not defined in conditional blocks guarded by functions
annotated withtyping.Never
ortyping.NoReturn
.Closes #9674
Other Bug Fixes
-
Fixed a crash when the lineno of a variable used as an annotation wasn't available for
undefined-variable
.Closes #8866
-
Fixed a crash when the
start
value in anenumerate
was non-constant and impossible to infer
(like inenumerate(apples, start=int(random_apple_index)
) forunnecessary-list-index-lookup
.Closes #9078
-
Fixed a crash in
symilar
when the-d
or-i
short option were not properly recognized.
It's still impossible to do-d=1
(you must do-d 1
).Closes #9343