github pylint-dev/pylint v2.16.2

latest releases: v3.3.0, v3.2.7, v3.2.6...
19 months ago

New Features

  • Add --version option to pyreverse.

    Refs #7851

False Positives Fixed

  • Fix false positive for used-before-assignment when
    typing.TYPE_CHECKING is used with if/elif/else blocks.

    Closes #7574

  • Fix false positive for used-before-assignment for named expressions
    appearing after the first element in a list, tuple, or set.

    Closes #8252

Other Bug Fixes

  • Fix used-before-assignment false positive when the walrus operator
    is used with a ternary operator in dictionary key/value initialization.

    Closes #8125

  • Fix no-name-in-module false positive raised when a package defines a
    variable with the same name as one of its submodules.

    Closes #8148

  • Fix nested-min-max suggestion message to indicate it's possible to splat
    iterable objects.

    Closes #8168

  • Fix a crash happening when a class attribute was negated in the start
    argument of an enumerate.

    Closes #8207

Don't miss a new pylint release

NewReleases is sending notifications on new releases.