Skip to content

v2.13.8

Compare
Choose a tag to compare
@Pierre-Sassoulas Pierre-Sassoulas released this 02 May 14:40
· 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= to open

    Closes #6414

  • Avoid reporting superfluous-parens on expressions using the is not operator.

    Closes #5930

  • Fix a false positive for undefined-loop-variable when the else of a for
    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 by if TYPE_CHECKING.

    Closes #3979