Skip to content

Commit b2af2b2

Browse files
Release branch 2.15.6 (#7785)
* Bump pylint to 2.15.6, update changelog Co-authored-by: Jacob Walls <[email protected]>
1 parent e5c81a9 commit b2af2b2

File tree

11 files changed

+51
-23
lines changed

11 files changed

+51
-23
lines changed

CONTRIBUTORS.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ contributors:
364364
- Stéphane Wirtel <[email protected]>: nonlocal-without-binding
365365
- Stephen Longofono <[email protected]>
366366
- Stanislav Levin <[email protected]>
367+
367368
- Sorin Sbarnea <[email protected]>
368369
- Slavfox <[email protected]>
369370
- Skip Montanaro <[email protected]>

doc/whatsnew/2/2.15/index.rst

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,54 @@ Marc Byrne became a maintainer, welcome to the team !
2929

3030
.. towncrier release notes start
3131
32+
What's new in Pylint 2.15.6?
33+
----------------------------
34+
Release date: 2022-11-19
35+
36+
37+
False Positives Fixed
38+
---------------------
39+
40+
- Fix false positive for ``unhashable-member`` when subclassing ``dict`` and
41+
using the subclass as a dictionary key.
42+
43+
Closes #7501 (`#7501 <https://github.com/PyCQA/pylint/issues/7501>`_)
44+
45+
- ``unnecessary-list-index-lookup`` will not be wrongly emitted if
46+
``enumerate`` is called with ``start``.
47+
48+
Closes #7682 (`#7682 <https://github.com/PyCQA/pylint/issues/7682>`_)
49+
50+
- Don't warn about ``stop-iteration-return`` when using ``next()`` over
51+
``itertools.cycle``.
52+
53+
Closes #7765 (`#7765 <https://github.com/PyCQA/pylint/issues/7765>`_)
54+
55+
56+
57+
Other Bug Fixes
58+
---------------
59+
60+
- Messages sent to reporter are now copied so a reporter cannot modify the
61+
message sent to other reporters.
62+
63+
Closes #7214 (`#7214 <https://github.com/PyCQA/pylint/issues/7214>`_)
64+
65+
- Fixes edge case of custom method named ``next`` raised an astroid error.
66+
67+
Closes #7610 (`#7610 <https://github.com/PyCQA/pylint/issues/7610>`_)
68+
69+
- Fix crash that happened when parsing files with unexpected encoding starting
70+
with 'utf' like ``utf13``.
71+
72+
Closes #7661 (`#7661 <https://github.com/PyCQA/pylint/issues/7661>`_)
73+
74+
- Fix a crash when a child class with an ``__init__`` method inherits from a
75+
parent class with an ``__init__`` class attribute.
76+
77+
Closes #7742 (`#7742 <https://github.com/PyCQA/pylint/issues/7742>`_)
78+
79+
3280
What's new in Pylint 2.15.5?
3381
----------------------------
3482
Release date: 2022-10-21

doc/whatsnew/fragments/7214.bugfix

Lines changed: 0 additions & 3 deletions
This file was deleted.

doc/whatsnew/fragments/7501.false_positive

Lines changed: 0 additions & 3 deletions
This file was deleted.

doc/whatsnew/fragments/7610.bugfix

Lines changed: 0 additions & 3 deletions
This file was deleted.

doc/whatsnew/fragments/7661.bugfix

Lines changed: 0 additions & 3 deletions
This file was deleted.

doc/whatsnew/fragments/7682.false_positive

Lines changed: 0 additions & 3 deletions
This file was deleted.

doc/whatsnew/fragments/7742.bugfix

Lines changed: 0 additions & 3 deletions
This file was deleted.

doc/whatsnew/fragments/7765.false_positive

Lines changed: 0 additions & 3 deletions
This file was deleted.

pylint/__pkginfo__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
from __future__ import annotations
1111

12-
__version__ = "2.15.5"
12+
__version__ = "2.15.6"
1313

1414

1515
def get_numversion_from_version(v: str) -> tuple[int, int, int]:

tbump.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
github_url = "https://github.com/PyCQA/pylint"
22

33
[version]
4-
current = "2.15.5"
4+
current = "2.15.6"
55
regex = '''
66
^(?P<major>0|[1-9]\d*)
77
\.

0 commit comments

Comments
 (0)