v3.3.7
What's new in Pylint 3.3.7?
Release date: 2025-05-04
False Positives Fixed
-
Comparisons between two calls to
type()won't raise anunidiomatic-typecheckwarning anymore, consistent with the behavior applied only for==previously.Closes #10161
Other Bug Fixes
-
Fixed a crash when importing a class decorator that did not exist with the same name as a class attribute after the class definition.
Closes #10105
-
Fix a crash caused by malformed format strings when using
.formatwith keyword arguments.Closes #10282
-
Using a slice as a class decorator now raises a
not-callablemessage instead of crashing. A lot of checks that dealt with decorators (too many to list) are now shortcut if the decorator can't immediately be inferred to a function or class definition.Closes #10334
Other Changes
-
The algorithm used for
no-membersuggestions is now more efficient and cuts the
calculation when the distance score is already above the threshold.Refs #10277