Skip to content

Commit

Permalink
Bump pylint to 2.15.10, update changelog (#8034)
Browse files Browse the repository at this point in the history
* Bump pylint to 2.15.10, update changelog

* Update doc/whatsnew/2/2.15/index.rst
  • Loading branch information
Pierre-Sassoulas committed Jan 9, 2023
1 parent 0741949 commit ea12a60
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 19 deletions.
38 changes: 38 additions & 0 deletions doc/whatsnew/2/2.15/index.rst
Expand Up @@ -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 <https://github.com/PyCQA/pylint/issues/5788>`_)

- Fix false positive ``assigning-non-slot`` when a class attribute is
re-assigned.

Closes #6001 (`#6001 <https://github.com/PyCQA/pylint/issues/6001>`_)

- Fixes ``used-before-assignment`` false positive when the walrus operator
is used in a ternary operator.

Closes #7779 (`#7779 <https://github.com/PyCQA/pylint/issues/7779>`_)

- Prevent ``used-before-assignment`` when imports guarded by ``if
TYPE_CHECKING``
are guarded again when used.

Closes #7979 (`#7979 <https://github.com/PyCQA/pylint/issues/7979>`_)



Other Bug Fixes
---------------

- Using custom braces in ``msg-template`` will now work properly.

Closes #5636 (`#5636 <https://github.com/PyCQA/pylint/issues/5636>`_)


What's new in Pylint 2.15.9?
----------------------------
Release date: 2022-12-17
Expand Down
3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/5636.bugfix

This file was deleted.

3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/5788.false_positive

This file was deleted.

3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/6001.false_positive

This file was deleted.

4 changes: 0 additions & 4 deletions doc/whatsnew/fragments/7779.false_positive

This file was deleted.

4 changes: 0 additions & 4 deletions doc/whatsnew/fragments/7979.false_positive

This file was deleted.

2 changes: 1 addition & 1 deletion pylint/__pkginfo__.py
Expand Up @@ -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]:
Expand Down
2 changes: 1 addition & 1 deletion tbump.toml
@@ -1,7 +1,7 @@
github_url = "https://github.com/PyCQA/pylint"

[version]
current = "2.15.9"
current = "2.15.10"
regex = '''
^(?P<major>0|[1-9]\d*)
\.
Expand Down

0 comments on commit ea12a60

Please sign in to comment.