Skip to content

Commit 918d216

Browse files
Bump pylint to 3.2.3, update changelog
1 parent 8aba7d1 commit 918d216

9 files changed

+31
-18
lines changed

doc/whatsnew/3/3.2/index.rst

+23
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,29 @@ Summary -- Release highlights
1414

1515
.. towncrier release notes start
1616
17+
What's new in Pylint 3.2.3?
18+
---------------------------
19+
Release date: 2024-06-06
20+
21+
22+
False Positives Fixed
23+
---------------------
24+
25+
- Classes with only an Ellipsis (``...``) in their body do not trigger 'multiple-statements'
26+
anymore if they are inlined (in accordance with black's 2024 style).
27+
28+
Closes #9398 (`#9398 <https://github.com/pylint-dev/pylint/issues/9398>`_)
29+
30+
- Fix a false positive for ``redefined-outer-name`` when there is a name defined in an exception-handling block which shares the same name as a local variable that has been defined in a function body.
31+
32+
Closes #9671 (`#9671 <https://github.com/pylint-dev/pylint/issues/9671>`_)
33+
34+
- Fix a false positive for ``use-yield-from`` when using the return value from the ``yield`` atom.
35+
36+
Closes #9696 (`#9696 <https://github.com/pylint-dev/pylint/issues/9696>`_)
37+
38+
39+
1740
What's new in Pylint 3.2.2?
1841
---------------------------
1942
Release date: 2024-05-20

doc/whatsnew/fragments/9398.false_positive

-4
This file was deleted.

doc/whatsnew/fragments/9671.false_positive

-3
This file was deleted.

doc/whatsnew/fragments/9696.false_positive

-3
This file was deleted.

examples/pylintrc

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ load-plugins=
8787
# Pickle collected data for later comparisons.
8888
persistent=yes
8989

90-
# Resolve imports to .pyi stubs if available. May reduce no-member messages
91-
# and increase not-an-iterable messages.
90+
# Resolve imports to .pyi stubs if available. May reduce no-member messages and
91+
# increase not-an-iterable messages.
9292
prefer-stubs=no
9393

9494
# Minimum Python version to use for version dependent checks. Will default to

examples/pyproject.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ limit-inference-results = 100
7777
# Pickle collected data for later comparisons.
7878
persistent = true
7979

80-
# Resolve imports to .pyi stubs if available. May reduce no-member messages
81-
# and increase not-an-iterable messages.
82-
prefer-stubs = false
80+
# Resolve imports to .pyi stubs if available. May reduce no-member messages and
81+
# increase not-an-iterable messages.
82+
# prefer-stubs =
8383

8484
# Minimum Python version to use for version dependent checks. Will default to the
8585
# version used to run pylint.

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.2"
12+
__version__ = "3.2.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/pylint-dev/pylint"
22

33
[version]
4-
current = "3.2.2"
4+
current = "3.2.3"
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.2"
2+
version = "3.2.3"
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)