github pylint-dev/pylint v2.13.1

latest releases: v3.2.3, v3.2.2, v3.2.1...
2 years ago
  • Fix a regression in 2.13.0 where used-before-assignment was emitted for
    the usage of a nonlocal in a try block.

    Fixes #5965

  • Avoid emitting raising-bad-type when there is inference ambiguity on
    the variable being raised.

    Closes #2793

  • Loosen TypeVar default name pattern a bit to allow names with multiple uppercase
    characters. E.g. HVACModeT or IPAddressT.

    Closes #5981

  • Fixed false positive for unused-argument when a nonlocal name is used
    in a nested function that is returned without being called by its parent.

    Closes #5187

  • Fix program crash for modified_iterating-list/set/dict when the list/dict/set
    being iterated through is a function call.

    Closes #5969

  • Don't emit broken-noreturn and broken-collections-callable errors
    inside if TYPE_CHECKING blocks.

Don't miss a new pylint release

NewReleases is sending notifications on new releases.