summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2022-11-19 09:22:48 +0100
committerGitHub <noreply@github.com>2022-11-19 09:22:48 +0100
commitb2af2b299c1206e035f44db90b1569b3e3b13511 (patch)
tree841ba1cbd2c80587043d4a82c737a5ac48f518df
parente5c81a9c73fcc0e97168937a3b0c6292b2c8b45f (diff)
downloadpylint-git-2.15.6.tar.gz
Release branch 2.15.6 (#7785)v2.15.6
* Bump pylint to 2.15.6, update changelog Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
-rw-r--r--CONTRIBUTORS.txt1
-rw-r--r--doc/whatsnew/2/2.15/index.rst48
-rw-r--r--doc/whatsnew/fragments/7214.bugfix3
-rw-r--r--doc/whatsnew/fragments/7501.false_positive3
-rw-r--r--doc/whatsnew/fragments/7610.bugfix3
-rw-r--r--doc/whatsnew/fragments/7661.bugfix3
-rw-r--r--doc/whatsnew/fragments/7682.false_positive3
-rw-r--r--doc/whatsnew/fragments/7742.bugfix3
-rw-r--r--doc/whatsnew/fragments/7765.false_positive3
-rw-r--r--pylint/__pkginfo__.py2
-rw-r--r--tbump.toml2
11 files changed, 51 insertions, 23 deletions
diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt
index e7d4f8f3a..05e6c9633 100644
--- a/CONTRIBUTORS.txt
+++ b/CONTRIBUTORS.txt
@@ -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>
diff --git a/doc/whatsnew/2/2.15/index.rst b/doc/whatsnew/2/2.15/index.rst
index 48c4479ba..beb563e4c 100644
--- a/doc/whatsnew/2/2.15/index.rst
+++ b/doc/whatsnew/2/2.15/index.rst
@@ -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
diff --git a/doc/whatsnew/fragments/7214.bugfix b/doc/whatsnew/fragments/7214.bugfix
deleted file mode 100644
index c91805e4b..000000000
--- a/doc/whatsnew/fragments/7214.bugfix
+++ /dev/null
@@ -1,3 +0,0 @@
-Message send to reporter are now copied so a reporter cannot modify the message sent to other reporters.
-
-Closes #7214
diff --git a/doc/whatsnew/fragments/7501.false_positive b/doc/whatsnew/fragments/7501.false_positive
deleted file mode 100644
index 0c2d33a07..000000000
--- a/doc/whatsnew/fragments/7501.false_positive
+++ /dev/null
@@ -1,3 +0,0 @@
-Fix false positive for ``unhashable-member`` when subclassing ``dict`` and using the subclass as a dictionary key.
-
-Closes #7501
diff --git a/doc/whatsnew/fragments/7610.bugfix b/doc/whatsnew/fragments/7610.bugfix
deleted file mode 100644
index 3eb49fcbb..000000000
--- a/doc/whatsnew/fragments/7610.bugfix
+++ /dev/null
@@ -1,3 +0,0 @@
-Fixes edge case of custom method named ``next`` raised an astroid error.
-
-Closes #7610
diff --git a/doc/whatsnew/fragments/7661.bugfix b/doc/whatsnew/fragments/7661.bugfix
deleted file mode 100644
index 2e58c861b..000000000
--- a/doc/whatsnew/fragments/7661.bugfix
+++ /dev/null
@@ -1,3 +0,0 @@
-Fix crash that happened when parsing files with unexpected encoding starting with 'utf' like ``utf13``.
-
-Closes #7661
diff --git a/doc/whatsnew/fragments/7682.false_positive b/doc/whatsnew/fragments/7682.false_positive
deleted file mode 100644
index 3f94f447f..000000000
--- a/doc/whatsnew/fragments/7682.false_positive
+++ /dev/null
@@ -1,3 +0,0 @@
-``unnecessary-list-index-lookup`` will not be wrongly emitted if ``enumerate`` is called with ``start``.
-
-Closes #7682
diff --git a/doc/whatsnew/fragments/7742.bugfix b/doc/whatsnew/fragments/7742.bugfix
deleted file mode 100644
index 7e3c93089..000000000
--- a/doc/whatsnew/fragments/7742.bugfix
+++ /dev/null
@@ -1,3 +0,0 @@
-Fix a crash when a child class with an ``__init__`` method inherits from a parent class with an ``__init__`` class attribute.
-
-Closes #7742
diff --git a/doc/whatsnew/fragments/7765.false_positive b/doc/whatsnew/fragments/7765.false_positive
deleted file mode 100644
index de7c44c5a..000000000
--- a/doc/whatsnew/fragments/7765.false_positive
+++ /dev/null
@@ -1,3 +0,0 @@
-Don't warn about ``stop-iteration-return`` when using ``next()`` over ``itertools.cycle``.
-
-Closes #7765
diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py
index 07f0cd7c0..f8280c24d 100644
--- a/pylint/__pkginfo__.py
+++ b/pylint/__pkginfo__.py
@@ -9,7 +9,7 @@ It's updated via tbump, do not modify.
from __future__ import annotations
-__version__ = "2.15.5"
+__version__ = "2.15.6"
def get_numversion_from_version(v: str) -> tuple[int, int, int]:
diff --git a/tbump.toml b/tbump.toml
index 04f96c9e1..dda83891d 100644
--- a/tbump.toml
+++ b/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*)
\.