Skip to content

Commit 425ad66

Browse files
Bump pylint to 3.2.4, update changelog (#9746)
Co-authored-by: Jacob Walls <[email protected]>
1 parent c41c35a commit 425ad66

File tree

8 files changed

+38
-19
lines changed

8 files changed

+38
-19
lines changed

doc/whatsnew/3/3.2/index.rst

+35
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,41 @@ Summary -- Release highlights
1414

1515
.. towncrier release notes start
1616
17+
What's new in Pylint 3.2.4?
18+
---------------------------
19+
Release date: 2024-06-25
20+
21+
22+
False Positives Fixed
23+
---------------------
24+
25+
- Prevent emitting ``possibly-used-before-assignment`` when relying on names
26+
only potentially not defined in conditional blocks guarded by functions
27+
annotated with ``typing.Never`` or ``typing.NoReturn``.
28+
29+
Closes #9674 (`#9674 <https://github.com/pylint-dev/pylint/issues/9674>`_)
30+
31+
32+
33+
Other Bug Fixes
34+
---------------
35+
36+
- Fixed a crash when the lineno of a variable used as an annotation wasn't available for ``undefined-variable``.
37+
38+
Closes #8866 (`#8866 <https://github.com/pylint-dev/pylint/issues/8866>`_)
39+
40+
- Fixed a crash when the ``start`` value in an ``enumerate`` was non-constant and impossible to infer
41+
(like in``enumerate(apples, start=int(random_apple_index)``) for ``unnecessary-list-index-lookup``.
42+
43+
Closes #9078 (`#9078 <https://github.com/pylint-dev/pylint/issues/9078>`_)
44+
45+
- Fixed a crash in ``symilar`` when the ``-d`` or ``-i`` short option were not properly recognized.
46+
It's still impossible to do ``-d=1`` (you must do ``-d 1``).
47+
48+
Closes #9343 (`#9343 <https://github.com/pylint-dev/pylint/issues/9343>`_)
49+
50+
51+
1752
What's new in Pylint 3.2.3?
1853
---------------------------
1954
Release date: 2024-06-06

doc/whatsnew/fragments/8866.bugfix

-3
This file was deleted.

doc/whatsnew/fragments/9078.bugfix

-4
This file was deleted.

doc/whatsnew/fragments/9343.bugfix

-4
This file was deleted.

doc/whatsnew/fragments/9674.false_positive

-5
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__ = "3.2.3"
12+
__version__ = "3.2.4"
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/pylint-dev/pylint"
22

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

towncrier.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.towncrier]
2-
version = "3.2.3"
2+
version = "3.2.4"
33
directory = "doc/whatsnew/fragments"
44
filename = "doc/whatsnew/3/3.2/index.rst"
55
template = "doc/whatsnew/fragments/_template.rst"

0 commit comments

Comments
 (0)