Skip to content

Update dependency pylint to v2.15.6

Renovate [bot] requested to merge renovate/pylint-2.x into master

This MR contains the following updates:

Package Update Change
pylint (changelog) patch ==2.15.4 -> ==2.15.6

Release Notes

PyCQA/pylint

v2.15.6

Compare Source

False Positives Fixed

  • Fix false positive for unhashable-member when subclassing dict and using the subclass as a dictionary key.

    Closes #​7501

  • unnecessary-list-index-lookup will not be wrongly emitted if enumerate is called with start.

    Closes #​7682

  • Don't warn about stop-iteration-return when using next() over itertools.cycle.

    Closes #​7765

Other Bug Fixes

  • Messages sent to reporter are now copied so a reporter cannot modify the message sent to other reporters.

    Closes #​7214

  • Fixes edge case of custom method named next raised an astroid error.

    Closes #​7610

  • Fix crash that happened when parsing files with unexpected encoding starting with 'utf' like utf13.

    Closes #​7661

  • Fix a crash when a child class with an __init__ method inherits from a parent class with an __init__ class attribute.

    Closes #​7742

v2.15.5

Compare Source

What's new in Pylint 2.15.5?

Release date: 2022-10-21

False Positives Fixed

  • Fix a false positive for simplify-boolean-expression when multiple values are inferred for a constant.

    Closes #​7626

Other Bug Fixes

  • Remove __index__ dunder method call from unnecessary-dunder-call check.

    Closes #​6795

  • Fixed a multi-processing crash that prevents using any more than 1 thread on MacOS.

    The returned module objects and errors that were cached by the linter plugin loader cannot be reliably pickled. This means that dill would throw an error when attempting to serialise the linter object for multi-processing use.

    Closes #​7635.

Other Changes

  • Add a keyword-only compare_constants argument to safe_infer.

    Refs #​7626

  • Sort --generated-rcfile output.

    Refs #​7655


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by Renovate [bot]

Merge request reports