v3.2.4
What's new in Pylint 3.2.4?
Release date: 2024-06-26
False Positives Fixed
-
Prevent emitting
possibly-used-before-assignmentwhen relying on names
only potentially not defined in conditional blocks guarded by functions
annotated withtyping.Neverortyping.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
startvalue in anenumeratewas non-constant and impossible to infer
(like inenumerate(apples, start=int(random_apple_index)) forunnecessary-list-index-lookup.Closes #9078
-
Fixed a crash in
symilarwhen the-dor-ishort option were not properly recognized.
It's still impossible to do-d=1(you must do-d 1).Closes #9343