github pylint-dev/pylint v2.15.1

latest releases: v3.3.1, v3.3.0, v3.2.7...
2 years ago
  • 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

Don't miss a new pylint release

NewReleases is sending notifications on new releases.