Skip to content

Commit 403dac6

Browse files
Bump pylint to 2.15.3, update changelog
1 parent 38e2784 commit 403dac6

File tree

9 files changed

+26
-21
lines changed

9 files changed

+26
-21
lines changed

doc/whatsnew/2/2.15/index.rst

+24
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,30 @@ Marc Byrne became a maintainer, welcome to the team !
2929

3030
.. towncrier release notes start
3131
32+
What's new in Pylint 2.15.3?
33+
----------------------------
34+
Release date: 2022-09-19
35+
36+
37+
- Fixed a crash in the ``unhashable-member`` checker when using a ``lambda`` as a dict key.
38+
39+
Closes #7453 (`#7453 <https://github.com/PyCQA/pylint/issues/7453>`_)
40+
- Fix a crash in the ``modified-iterating-dict`` checker involving instance attributes.
41+
42+
Closes #7461 (`#7461 <https://github.com/PyCQA/pylint/issues/7461>`_)
43+
- ``invalid-class-object`` does not crash anymore when ``__class__`` is assigned alongside another variable.
44+
45+
Closes #7467 (`#7467 <https://github.com/PyCQA/pylint/issues/7467>`_)
46+
- Fix false positive for ``global-variable-not-assigned`` when a global variable is re-assigned via an ``ImportFrom`` node.
47+
48+
Closes #4809 (`#4809 <https://github.com/PyCQA/pylint/issues/4809>`_)
49+
- Fix false positive for ``undefined-loop-variable`` in ``for-else`` loops that use a function
50+
having a return type annotation of ``NoReturn`` or ``Never``.
51+
52+
Closes #7311 (`#7311 <https://github.com/PyCQA/pylint/issues/7311>`_)
53+
- ``--help-msg`` now accepts a comma-separated list of message IDs again.
54+
55+
Closes #7471 (`#7471 <https://github.com/PyCQA/pylint/issues/7471>`_)
3256

3357
What's new in Pylint 2.15.2?
3458
----------------------------

doc/whatsnew/fragments/4809.false_positive

-3
This file was deleted.

doc/whatsnew/fragments/7311.false_positive

-4
This file was deleted.

doc/whatsnew/fragments/7453.bugfix

-3
This file was deleted.

doc/whatsnew/fragments/7461.bugfix

-3
This file was deleted.

doc/whatsnew/fragments/7467.bugfix

-3
This file was deleted.

doc/whatsnew/fragments/7471.bugfix

-3
This file was deleted.

pylint/__pkginfo__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
from __future__ import annotations
1111

12-
__version__ = "2.15.2"
12+
__version__ = "2.15.3"
1313

1414

1515
def get_numversion_from_version(v: str) -> tuple[int, int, int]:

tbump.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
github_url = "https://github.com/PyCQA/pylint"
22

33
[version]
4-
current = "2.15.2"
4+
current = "2.15.3"
55
regex = '''
66
^(?P<major>0|[1-9]\d*)
77
\.

0 commit comments

Comments
 (0)