-
Fix false positive regression in 2.13.0 for
used-before-assignment
for
homonyms between variable assignments in try/except blocks and variables in
subscripts in comprehensions. -
lru-cache-decorating-method
has been renamed tocache-max-size-none
and
will only be emitted whenmaxsize
isNone
.Closes #6180
-
Fix false positive for
unused-import
when disabling bothused-before-assignment
andundefined-variable
.Closes #6089
-
Narrow the scope of the
unnecessary-ellipsis
checker to:- functions & classes which contain both a docstring and an ellipsis.
- A body which contains an ellipsis
nodes.Expr
node & at least one other statement.
-
Fix false positive for
used-before-assignment
for assignments taking place via
nonlocal declarations after an earlier type annotation.Closes #5394
-
Fix crash for
redefined-slots-in-subclass
when the type of the slot is not a const or a string.Closes #6100
-
Only raise
not-callable
when all the inferred values of a property are not callable.Closes #5931
-
Fix a false negative for
subclassed-final-class
when a set of other messages were disabled.