diff --git a/doc/whatsnew/2/2.15/index.rst b/doc/whatsnew/2/2.15/index.rst index e7099876ee..90b50db213 100644 --- a/doc/whatsnew/2/2.15/index.rst +++ b/doc/whatsnew/2/2.15/index.rst @@ -29,6 +29,44 @@ Marc Byrne became a maintainer, welcome to the team ! .. towncrier release notes start +What's new in Pylint 2.15.10? +----------------------------- +Release date: 2023-01-09 + + +False Positives Fixed +--------------------- + +- Fix ``use-sequence-for-iteration`` when unpacking a set with ``*``. + + Closes #5788 (`#5788 `_) + +- Fix false positive ``assigning-non-slot`` when a class attribute is + re-assigned. + + Closes #6001 (`#6001 `_) + +- Fixes ``used-before-assignment`` false positive when the walrus operator + is used in a ternary operator. + + Closes #7779 (`#7779 `_) + +- Prevent ``used-before-assignment`` when imports guarded by ``if + TYPE_CHECKING`` + are guarded again when used. + + Closes #7979 (`#7979 `_) + + + +Other Bug Fixes +--------------- + +- Using custom braces in ``msg-template`` will now work properly. + + Closes #5636 (`#5636 `_) + + What's new in Pylint 2.15.9? ---------------------------- Release date: 2022-12-17 diff --git a/doc/whatsnew/fragments/5636.bugfix b/doc/whatsnew/fragments/5636.bugfix deleted file mode 100644 index efa6d5452d..0000000000 --- a/doc/whatsnew/fragments/5636.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -Using custom braces in ``msg-template`` will now work properly. - -Closes #5636 diff --git a/doc/whatsnew/fragments/5788.false_positive b/doc/whatsnew/fragments/5788.false_positive deleted file mode 100644 index 65fc29fe4d..0000000000 --- a/doc/whatsnew/fragments/5788.false_positive +++ /dev/null @@ -1,3 +0,0 @@ -Fix ``use-sequence-for-iteration`` when unpacking a set with ``*``. - -Closes #5788 diff --git a/doc/whatsnew/fragments/6001.false_positive b/doc/whatsnew/fragments/6001.false_positive deleted file mode 100644 index 384ef7fbd8..0000000000 --- a/doc/whatsnew/fragments/6001.false_positive +++ /dev/null @@ -1,3 +0,0 @@ -Fix false positive ``assigning-non-slot`` when a class attribute is re-assigned. - -Closes #6001 diff --git a/doc/whatsnew/fragments/7779.false_positive b/doc/whatsnew/fragments/7779.false_positive deleted file mode 100644 index 2591f17a4c..0000000000 --- a/doc/whatsnew/fragments/7779.false_positive +++ /dev/null @@ -1,4 +0,0 @@ -Fixes ``used-before-assignment`` false positive when the walrus operator -is used in a ternary operator. - -Closes #7779 diff --git a/doc/whatsnew/fragments/7979.false_positive b/doc/whatsnew/fragments/7979.false_positive deleted file mode 100644 index 1c10641aeb..0000000000 --- a/doc/whatsnew/fragments/7979.false_positive +++ /dev/null @@ -1,4 +0,0 @@ -Prevent ``used-before-assignment`` when imports guarded by ``if TYPE_CHECKING`` -are guarded again when used. - -Closes #7979 diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py index 9bcdadb07d..3f7b1fe05a 100644 --- a/pylint/__pkginfo__.py +++ b/pylint/__pkginfo__.py @@ -9,7 +9,7 @@ from __future__ import annotations -__version__ = "2.15.9" +__version__ = "2.15.10" def get_numversion_from_version(v: str) -> tuple[int, int, int]: diff --git a/tbump.toml b/tbump.toml index db284a4b06..8528f6e3ca 100644 --- a/tbump.toml +++ b/tbump.toml @@ -1,7 +1,7 @@ github_url = "https://github.com/PyCQA/pylint" [version] -current = "2.15.9" +current = "2.15.10" regex = ''' ^(?P0|[1-9]\d*) \.