Skip to content

Commit

Permalink
Release branch 2.15.6 (#7785)
Browse files Browse the repository at this point in the history
* Bump pylint to 2.15.6, update changelog

Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
  • Loading branch information
Pierre-Sassoulas and jacobtylerwalls committed Nov 19, 2022
1 parent e5c81a9 commit b2af2b2
Show file tree
Hide file tree
Showing 11 changed files with 51 additions and 23 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTORS.txt
Expand Up @@ -364,6 +364,7 @@ contributors:
- Stéphane Wirtel <stephane@wirtel.be>: nonlocal-without-binding
- Stephen Longofono <8992396+SLongofono@users.noreply.github.com>
- Stanislav Levin <slev@altlinux.org>
- Smixi <sismixx@hotmail.fr>
- Sorin Sbarnea <ssbarnea@redhat.com>
- Slavfox <slavfoxman@gmail.com>
- Skip Montanaro <skip@pobox.com>
Expand Down
48 changes: 48 additions & 0 deletions doc/whatsnew/2/2.15/index.rst
Expand Up @@ -29,6 +29,54 @@ Marc Byrne became a maintainer, welcome to the team !

.. towncrier release notes start
What's new in Pylint 2.15.6?
----------------------------
Release date: 2022-11-19


False Positives Fixed
---------------------

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

Closes #7501 (`#7501 <https://github.com/PyCQA/pylint/issues/7501>`_)

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

Closes #7682 (`#7682 <https://github.com/PyCQA/pylint/issues/7682>`_)

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

Closes #7765 (`#7765 <https://github.com/PyCQA/pylint/issues/7765>`_)



Other Bug Fixes
---------------

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

Closes #7214 (`#7214 <https://github.com/PyCQA/pylint/issues/7214>`_)

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

Closes #7610 (`#7610 <https://github.com/PyCQA/pylint/issues/7610>`_)

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

Closes #7661 (`#7661 <https://github.com/PyCQA/pylint/issues/7661>`_)

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

Closes #7742 (`#7742 <https://github.com/PyCQA/pylint/issues/7742>`_)


What's new in Pylint 2.15.5?
----------------------------
Release date: 2022-10-21
Expand Down
3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/7214.bugfix

This file was deleted.

3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/7501.false_positive

This file was deleted.

3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/7610.bugfix

This file was deleted.

3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/7661.bugfix

This file was deleted.

3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/7682.false_positive

This file was deleted.

3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/7742.bugfix

This file was deleted.

3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/7765.false_positive

This file was deleted.

2 changes: 1 addition & 1 deletion pylint/__pkginfo__.py
Expand Up @@ -9,7 +9,7 @@

from __future__ import annotations

__version__ = "2.15.5"
__version__ = "2.15.6"


def get_numversion_from_version(v: str) -> tuple[int, int, int]:
Expand Down
2 changes: 1 addition & 1 deletion tbump.toml
@@ -1,7 +1,7 @@
github_url = "https://github.com/PyCQA/pylint"

[version]
current = "2.15.5"
current = "2.15.6"
regex = '''
^(?P<major>0|[1-9]\d*)
\.
Expand Down

0 comments on commit b2af2b2

Please sign in to comment.