pypi pylint 2.14.2

latest releases: 3.3.1, 3.3.0, 3.2.7...
2 years ago
  • Fixed a false positive for unused-variable when a function returns an
    argparse.Namespace object.

    Closes #6895

  • Avoided raising an identical undefined-loop-variable message twice on the same line.

  • Don't crash if lint.run._query_cpu() is run within a Kubernetes Pod, that has only
    a fraction of a cpu core assigned. Just go with one process then.

    Closes #6902

  • Fixed a false positive in consider-using-f-string if the left side of a % is not a string.

    Closes #6689

  • Fixed a false positive in unnecessary-list-index-lookup and unnecessary-dict-index-lookup
    when the subscript is updated in the body of a nested loop.

    Closes #6818

  • Fixed an issue with multi-line init-hook options which did not record the line endings.

    Closes #6888

  • Fixed a false positive for used-before-assignment when a try block returns
    but an except handler defines a name via type annotation.

  • --errors-only no longer enables previously disabled messages. It was acting as
    "emit all and only error messages" without being clearly documented that way.

    Closes #6811

Don't miss a new pylint release

NewReleases is sending notifications on new releases.