Skip to content

chore(deps-dev): Bump pylint from 2.13.4 to 2.13.5

Victor Engmark requested to merge dependabot-pip-pylint-2.13.5 into master

Bumps pylint from 2.13.4 to 2.13.5.

Changelog

Sourced from pylint's changelog.

What's New in Pylint 2.13.5?

Release date: 2022-04-06

  • Fix false positive regression in 2.13.0 for used-before-assignment for homonyms between variable assignments in try/except blocks and variables in subscripts in comprehensions.

    Closes #6069 Closes #6136

  • lru-cache-decorating-method has been renamed to cache-max-size-none and will only be emitted when maxsize is None.

    Closes #6180

  • Fix false positive for unused-import when disabling both used-before-assignment and undefined-variable.

    Closes #6089

  • Narrow the scope of the unnecessary-ellipsis checker to:

    • functions & classes which contain both a docstring and an ellipsis.
    • A body which contains an ellipsis nodes.Expr node & at least one other statement.
  • Fix false positive for used-before-assignment for assignments taking place via nonlocal declarations after an earlier type annotation.

    Closes #5394

  • Fix crash for redefined-slots-in-subclass when the type of the slot is not a const or a string.

    Closes #6100

  • Only raise not-callable when all the inferred values of a property are not callable.

    Closes #5931

  • Fix a false negative for subclassed-final-class when a set of other messages were disabled.

Commits
  • 95cbd2b Bump pylint to 2.13.5, update changelog
  • 2e9b33b Bump black from 22.1.0 to 22.3.0 (#6176)
  • f251131 Add subclassed-final-class message to the check_messages decorator (#...
  • a03b6e7 Prevent used-before-assignment for assignment via nonlocal after type annot...
  • 0741313 Only emit lru-cache-decorating-method when maxsize is None (#6181)
  • 7024743 Fix false positive for unused-import when disabling both ``used-before-as...
  • 4213b3c Fix handling of "for x in x" homonyms (#6154)
  • 22b5dc1 Account for more node types in handling of except block homonyms with compreh...
  • 0599016 redefined-slots-in-subclass crash when slot type is neither a string or c...
  • c48c45a Fix E1102 / not-callable false positive for property that returns a lambd...
  • Additional commits viewable in compare view

Merge request reports