pypi pylint 2.15.2

latest releases: 3.3.1, 3.3.0, 3.2.7...
2 years ago
  • Fixed a case where custom plugins specified by command line could silently fail.

    Specifically, if a plugin relies on the init-hook option changing sys.path before
    it can be imported, this will now emit a bad-plugin-value message. Before this
    change, it would silently fail to register the plugin for use, but would load
    any configuration, which could have unintended effects.

    Fixes part of #7264.

  • 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.