Skip to content

v2.15.1

Compare
Choose a tag to compare
@Pierre-Sassoulas Pierre-Sassoulas released this 06 Sep 21:36
· 1437 commits to main since this release
  • Fix used-before-assignment for functions/classes defined in type checking guard.

    Closes #7368

  • Update modified_iterating checker to fix a crash with for loops on empty list.

    Closes #7380

  • The docparams extension now considers typing in Numpy style docstrings
    as "documentation" for the missing-param-doc message.

    Refs #7398

  • Fix false positive for unused-variable and unused-import when a name is only used in a string literal type annotation.

    Closes #3299

  • Fix false positive for too-many-function-args when a function call is assigned to a class attribute inside the class where the function is defined.

    Closes #6592

  • Fix used-before-assignment for functions/classes defined in type checking guard.

    Closes #7368

  • Fix ignored files being linted when passed on stdin.

    Closes #4354

  • missing-return-doc, missing-raises-doc and missing-yields-doc now respect
    the no-docstring-rgx option.

    Closes #4743

  • Don't crash on OSError in config file discovery.

    Closes #7169

  • disable-next is now correctly scoped to only the succeeding line.

    Closes #7401

  • Update modified_iterating checker to fix a crash with for loops on empty list.

    Closes #7380