v2.13.8
·
3032 commits
to main
since this release
-
Fix a false positive for
undefined-loop-variable
for a variable used in a lambda
inside the first of multiple loops.Closes #6419
-
Fix a crash when linting a file that passes an integer
mode=
toopen
Closes #6414
-
Avoid reporting
superfluous-parens
on expressions using theis not
operator.Closes #5930
-
Fix a false positive for
undefined-loop-variable
when theelse
of afor
loop raises or returns.Closes #5971
-
Fix false positive for
unused-variable
for classes inside functions
and where a metaclass is provided via a call.Closes #4020
-
Fix false positive for
unsubscriptable-object
in Python 3.8 and below for
statements guarded byif TYPE_CHECKING
.Closes #3979