Skip to content

Commit de0147e

Browse files
Bump pylint to 2.17.2, update changelog (#8533)
1 parent 84c197d commit de0147e

File tree

8 files changed

+39
-19
lines changed

8 files changed

+39
-19
lines changed

doc/whatsnew/2/2.17/index.rst

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,42 @@ so we find problems before the actual release.
2929

3030
.. towncrier release notes start
3131
32+
What's new in Pylint 2.17.2?
33+
----------------------------
34+
Release date: 2023-04-03
35+
36+
37+
False Positives Fixed
38+
---------------------
39+
40+
- ``invalid-name`` now allows for integers in ``typealias`` names:
41+
- now valid: ``Good2Name``, ``GoodName2``.
42+
- still invalid: ``_1BadName``.
43+
44+
Closes #8485 (`#8485 <https://github.com/PyCQA/pylint/issues/8485>`_)
45+
46+
- No longer consider ``Union`` as type annotation as type alias for naming
47+
checks.
48+
49+
Closes #8487 (`#8487 <https://github.com/PyCQA/pylint/issues/8487>`_)
50+
51+
- ``unnecessary-lambda`` no longer warns on lambdas which use its parameters in
52+
their body (other than the final arguments), e.g.
53+
``lambda foo: (bar if foo else baz)(foo)``.
54+
55+
Closes #8496 (`#8496 <https://github.com/PyCQA/pylint/issues/8496>`_)
56+
57+
58+
59+
Other Bug Fixes
60+
---------------
61+
62+
- Fix a crash in pyreverse when "/" characters are used in the output filename
63+
e.g pyreverse -o png -p name/ path/to/project.
64+
65+
Closes #8504 (`#8504 <https://github.com/PyCQA/pylint/issues/8504>`_)
66+
67+
3268
What's new in Pylint 2.17.1?
3369
----------------------------
3470
Release date: 2023-03-22

doc/whatsnew/fragments/8485.false_positive

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

doc/whatsnew/fragments/8487.false_positive

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

doc/whatsnew/fragments/8496.false_positive

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

doc/whatsnew/fragments/8504.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.17.1"
12+
__version__ = "2.17.2"
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.17.1"
4+
current = "2.17.2"
55
regex = '''
66
^(?P<major>0|[1-9]\d*)
77
\.

towncrier.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.towncrier]
2-
version = "2.17.1"
2+
version = "2.17.2"
33
directory = "doc/whatsnew/fragments"
44
filename = "doc/whatsnew/2/2.17/index.rst"
55
template = "doc/whatsnew/fragments/_template.rst"

0 commit comments

Comments
 (0)