Skip to content

Commit 5a96370

Browse files
Bump pylint to 2.15.7, update changelog (#7845)
1 parent 43109b6 commit 5a96370

File tree

8 files changed

+38
-16
lines changed

8 files changed

+38
-16
lines changed

CONTRIBUTORS.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,7 @@ contributors:
483483
- Fabrice Douchant <[email protected]>
484484
- Fabio Natali <[email protected]>
485485
- Fabian Damken <[email protected]>
486+
- Eric McDonald <[email protected]>
486487
- Eric Froemling <[email protected]>
487488
- Emmanuel Chaudron <[email protected]>
488489
- Elizabeth Bott <[email protected]>

doc/whatsnew/2/2.15/index.rst

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,41 @@ Marc Byrne became a maintainer, welcome to the team !
2929

3030
.. towncrier release notes start
3131
32+
What's new in Pylint 2.15.7?
33+
----------------------------
34+
Release date: 2022-11-27
35+
36+
37+
False Positives Fixed
38+
---------------------
39+
40+
- Fix ``deprecated-method`` false positive when alias for method is similar to
41+
name of deprecated method.
42+
43+
Closes #5886 (`#5886 <https://github.com/PyCQA/pylint/issues/5886>`_)
44+
45+
- Fix a false positive for ``used-before-assignment`` for imports guarded by
46+
``typing.TYPE_CHECKING`` later used in variable annotations.
47+
48+
Closes #7609 (`#7609 <https://github.com/PyCQA/pylint/issues/7609>`_)
49+
50+
51+
52+
Other Bug Fixes
53+
---------------
54+
55+
- Pylint will now filter duplicates given to it before linting. The output
56+
should
57+
be the same whether a file is given/discovered multiple times or not.
58+
59+
Closes #6242, #4053 (`#6242 <https://github.com/PyCQA/pylint/issues/6242>`_)
60+
61+
- Fixes a crash in ``stop-iteration-return`` when the ``next`` builtin is
62+
called without arguments.
63+
64+
Closes #7828 (`#7828 <https://github.com/PyCQA/pylint/issues/7828>`_)
65+
66+
3267
What's new in Pylint 2.15.6?
3368
----------------------------
3469
Release date: 2022-11-19

doc/whatsnew/fragments/5886.false_positive

Lines changed: 0 additions & 3 deletions
This file was deleted.

doc/whatsnew/fragments/6242.bugfix

Lines changed: 0 additions & 4 deletions
This file was deleted.

doc/whatsnew/fragments/7609.false_positive

Lines changed: 0 additions & 4 deletions
This file was deleted.

doc/whatsnew/fragments/7828.bugfix

Lines changed: 0 additions & 3 deletions
This file was deleted.

pylint/__pkginfo__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
from __future__ import annotations
1111

12-
__version__ = "2.15.6"
12+
__version__ = "2.15.7"
1313

1414

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

tbump.toml

Lines changed: 1 addition & 1 deletion
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.6"
4+
current = "2.15.7"
55
regex = '''
66
^(?P<major>0|[1-9]\d*)
77
\.

0 commit comments

Comments
 (0)