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-typecheck
warning 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
.format
with keyword arguments.Closes #10282
-
Using a slice as a class decorator now raises a
not-callable
message 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-member
suggestions is now more efficient and cuts the
calculation when the distance score is already above the threshold.Refs #10277