summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2022-09-07 13:08:53 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2022-09-07 14:47:49 +0200
commit5716ad10104a9553ef9d64404b044c04947889b2 (patch)
tree87d09f5919a5961f8fc612a3da7fb2b8cfc5b36f
parent49b5d5dae6cc49d0572ffa35ae07f46ddc85fa61 (diff)
downloadpylint-git-5716ad10104a9553ef9d64404b044c04947889b2.tar.gz
Bump pylint to 2.15.2, update changelogv2.15.2
-rw-r--r--CONTRIBUTORS.txt1
-rw-r--r--doc/whatsnew/2/2.15/index.rst18
-rw-r--r--doc/whatsnew/fragments/7264.bugfix8
-rw-r--r--pylint/__pkginfo__.py2
-rw-r--r--tbump.toml2
5 files changed, 19 insertions, 12 deletions
diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt
index d885f555b..7d5e04835 100644
--- a/CONTRIBUTORS.txt
+++ b/CONTRIBUTORS.txt
@@ -483,6 +483,7 @@ contributors:
- Eisuke Kawashima <e-kwsm@users.noreply.github.com>
- Edward K. Ream <edreamleo@gmail.com>
- Edgemaster <grand.edgemaster@gmail.com>
+- Drummond Ogilvie <me@daogilvie.com>
- Drew Risinger <drewrisinger@users.noreply.github.com>
- Dr. Nick <das-intensity@users.noreply.github.com>
- Don Jayamanne <don.jayamanne@yahoo.com>
diff --git a/doc/whatsnew/2/2.15/index.rst b/doc/whatsnew/2/2.15/index.rst
index 7132e7056..b70ca4dba 100644
--- a/doc/whatsnew/2/2.15/index.rst
+++ b/doc/whatsnew/2/2.15/index.rst
@@ -30,10 +30,18 @@ Marc Byrne became a maintainer, welcome to the team !
.. towncrier release notes start
-What's new in Pylint 2.15.1?
+What's new in Pylint 2.15.2?
----------------------------
-Release date: 2022-09-06
+Release date: 2022-09-07
+
+- Fixed a case where custom plugins specified by command line could silently fail.
+ Specifically, if a plugin relies on the ``init-hook`` option changing ``sys.path`` before
+ it can be imported, this will now emit a ``bad-plugin-value`` message. Before this
+ change, it would silently fail to register the plugin for use, but would load
+ any configuration, which could have unintended effects.
+
+ Fixes part of #7264. (`#7264 <https://github.com/PyCQA/pylint/issues/7264>`_)
- Fix ``used-before-assignment`` for functions/classes defined in type checking guard.
Closes #7368 (`#7368 <https://github.com/PyCQA/pylint/issues/7368>`_)
@@ -70,6 +78,12 @@ Release date: 2022-09-06
Closes #7380 (`#7380 <https://github.com/PyCQA/pylint/issues/7380>`_)
+What's new in Pylint 2.15.1?
+----------------------------
+Release date: 2022-09-06
+
+This is a "github only release", it was mistakenly released as ``2.16.0-dev`` on pypi. Replaced by ``2.15.2``.
+
What's new in Pylint 2.15.0?
----------------------------
diff --git a/doc/whatsnew/fragments/7264.bugfix b/doc/whatsnew/fragments/7264.bugfix
deleted file mode 100644
index dc2aa5d40..000000000
--- a/doc/whatsnew/fragments/7264.bugfix
+++ /dev/null
@@ -1,8 +0,0 @@
-Fixed a case where custom plugins specified by command line could silently fail.
-
-Specifically, if a plugin relies on the ``init-hook`` option changing ``sys.path`` before
-it can be imported, this will now emit a ``bad-plugin-value`` message. Before this
-change, it would silently fail to register the plugin for use, but would load
-any configuration, which could have unintended effects.
-
-Fixes part of #7264.
diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py
index 7d767f3a1..fe000c1ad 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.0-dev"
+__version__ = "2.15.2"
def get_numversion_from_version(v: str) -> tuple[int, int, int]:
diff --git a/tbump.toml b/tbump.toml
index d5c0fc8a8..5c34271ce 100644
--- a/tbump.toml
+++ b/tbump.toml
@@ -1,7 +1,7 @@
github_url = "https://github.com/PyCQA/pylint"
[version]
-current = "2.16.0-dev"
+current = "2.15.2"
regex = '''
^(?P<major>0|[1-9]\d*)
\.