summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2023-02-13 17:24:13 +0100
committerGitHub <noreply@github.com>2023-02-13 17:24:13 +0100
commit0006ae993340aecf1eefdc402bc58a6e611a1586 (patch)
tree32f9197771e543f4739786dae7f04d5ec57b14d3
parentc8d3fddcbe58c99837eea1de66a198249906afe3 (diff)
downloadpylint-git-0006ae993340aecf1eefdc402bc58a6e611a1586.tar.gz
Bump pylint to 2.16.2, update changelog (#8276)v2.16.2
-rw-r--r--doc/whatsnew/2/2.16/index.rst54
-rw-r--r--doc/whatsnew/fragments/7574.false_positive4
-rw-r--r--doc/whatsnew/fragments/7851.feature3
-rw-r--r--doc/whatsnew/fragments/8125.bugfix4
-rw-r--r--doc/whatsnew/fragments/8148.bugfix4
-rw-r--r--doc/whatsnew/fragments/8168.bugfix3
-rw-r--r--doc/whatsnew/fragments/8207.bugfix3
-rw-r--r--doc/whatsnew/fragments/8252.false_positive4
-rw-r--r--pylint/__pkginfo__.py2
-rw-r--r--tbump.toml2
-rw-r--r--towncrier.toml2
11 files changed, 57 insertions, 28 deletions
diff --git a/doc/whatsnew/2/2.16/index.rst b/doc/whatsnew/2/2.16/index.rst
index 18f6579a6..45ff2833d 100644
--- a/doc/whatsnew/2/2.16/index.rst
+++ b/doc/whatsnew/2/2.16/index.rst
@@ -32,6 +32,60 @@ Last but not least @clavedeluna and @nickdrozd became triagers, welcome to the t
.. towncrier release notes start
+What's new in Pylint 2.16.2?
+----------------------------
+Release date: 2023-02-13
+
+
+New Features
+------------
+
+- Add `--version` option to `pyreverse`.
+
+ Refs #7851 (`#7851 <https://github.com/PyCQA/pylint/issues/7851>`_)
+
+
+
+False Positives Fixed
+---------------------
+
+- Fix false positive for ``used-before-assignment`` when
+ ``typing.TYPE_CHECKING`` is used with if/elif/else blocks.
+
+ Closes #7574 (`#7574 <https://github.com/PyCQA/pylint/issues/7574>`_)
+
+- Fix false positive for ``used-before-assignment`` for named expressions
+ appearing after the first element in a list, tuple, or set.
+
+ Closes #8252 (`#8252 <https://github.com/PyCQA/pylint/issues/8252>`_)
+
+
+
+Other Bug Fixes
+---------------
+
+- Fix ``used-before-assignment`` false positive when the walrus operator
+ is used with a ternary operator in dictionary key/value initialization.
+
+ Closes #8125 (`#8125 <https://github.com/PyCQA/pylint/issues/8125>`_)
+
+- Fix ``no-name-in-module`` false positive raised when a package defines a
+ variable with the
+ same name as one of its submodules.
+
+ Closes #8148 (`#8148 <https://github.com/PyCQA/pylint/issues/8148>`_)
+
+- Fix ``nested-min-max`` suggestion message to indicate it's possible to splat
+ iterable objects.
+
+ Closes #8168 (`#8168 <https://github.com/PyCQA/pylint/issues/8168>`_)
+
+- Fix a crash happening when a class attribute was negated in the start
+ argument of an enumerate.
+
+ Closes #8207 (`#8207 <https://github.com/PyCQA/pylint/issues/8207>`_)
+
+
What's new in Pylint 2.16.1?
----------------------------
Release date: 2023-02-02
diff --git a/doc/whatsnew/fragments/7574.false_positive b/doc/whatsnew/fragments/7574.false_positive
deleted file mode 100644
index a7b91b481..000000000
--- a/doc/whatsnew/fragments/7574.false_positive
+++ /dev/null
@@ -1,4 +0,0 @@
-Fix false positive for ``used-before-assignment`` when
-``typing.TYPE_CHECKING`` is used with if/elif/else blocks.
-
-Closes #7574
diff --git a/doc/whatsnew/fragments/7851.feature b/doc/whatsnew/fragments/7851.feature
deleted file mode 100644
index 36860ae12..000000000
--- a/doc/whatsnew/fragments/7851.feature
+++ /dev/null
@@ -1,3 +0,0 @@
-Add `--version` option to `pyreverse`.
-
-Refs #7851
diff --git a/doc/whatsnew/fragments/8125.bugfix b/doc/whatsnew/fragments/8125.bugfix
deleted file mode 100644
index bb7860f92..000000000
--- a/doc/whatsnew/fragments/8125.bugfix
+++ /dev/null
@@ -1,4 +0,0 @@
-Fix ``used-before-assignment`` false positive when the walrus operator
-is used with a ternary operator in dictionary key/value initialization.
-
-Closes #8125
diff --git a/doc/whatsnew/fragments/8148.bugfix b/doc/whatsnew/fragments/8148.bugfix
deleted file mode 100644
index de3c8ab57..000000000
--- a/doc/whatsnew/fragments/8148.bugfix
+++ /dev/null
@@ -1,4 +0,0 @@
-Fix ``no-name-in-module`` false positive raised when a package defines a variable with the
-same name as one of its submodules.
-
-Closes #8148
diff --git a/doc/whatsnew/fragments/8168.bugfix b/doc/whatsnew/fragments/8168.bugfix
deleted file mode 100644
index dd846b734..000000000
--- a/doc/whatsnew/fragments/8168.bugfix
+++ /dev/null
@@ -1,3 +0,0 @@
-Fix ``nested-min-max`` suggestion message to indicate it's possible to splat iterable objects.
-
-Closes #8168
diff --git a/doc/whatsnew/fragments/8207.bugfix b/doc/whatsnew/fragments/8207.bugfix
deleted file mode 100644
index fc7001b0c..000000000
--- a/doc/whatsnew/fragments/8207.bugfix
+++ /dev/null
@@ -1,3 +0,0 @@
-Fix a crash happening when a class attribute was negated in the start argument of an enumerate.
-
-Closes #8207
diff --git a/doc/whatsnew/fragments/8252.false_positive b/doc/whatsnew/fragments/8252.false_positive
deleted file mode 100644
index 2c449ac36..000000000
--- a/doc/whatsnew/fragments/8252.false_positive
+++ /dev/null
@@ -1,4 +0,0 @@
-Fix false positive for ``used-before-assignment`` for named expressions
-appearing after the first element in a list, tuple, or set.
-
-Closes #8252
diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py
index 91d783c56..360381f39 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.16.1"
+__version__ = "2.16.2"
def get_numversion_from_version(v: str) -> tuple[int, int, int]:
diff --git a/tbump.toml b/tbump.toml
index 4f289fa26..d3f12af84 100644
--- a/tbump.toml
+++ b/tbump.toml
@@ -1,7 +1,7 @@
github_url = "https://github.com/PyCQA/pylint"
[version]
-current = "2.16.1"
+current = "2.16.2"
regex = '''
^(?P<major>0|[1-9]\d*)
\.
diff --git a/towncrier.toml b/towncrier.toml
index c225dbc38..9192176aa 100644
--- a/towncrier.toml
+++ b/towncrier.toml
@@ -1,5 +1,5 @@
[tool.towncrier]
-version = "2.16.1"
+version = "2.16.2"
directory = "doc/whatsnew/fragments"
filename = "doc/whatsnew/2/2.16/index.rst"
template = "doc/whatsnew/fragments/_template.rst"