Skip to content

Commit 8115381

Browse files
Bump pylint to 3.0.4, update changelog (#9458)
1 parent 327785d commit 8115381

9 files changed

+43
-23
lines changed

doc/whatsnew/3/3.0/index.rst

+40
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,46 @@ easier to parse and provides more info, here's a sample output.
6565
6666
.. towncrier release notes start
6767
68+
What's new in Pylint 3.0.4?
69+
---------------------------
70+
Release date: 2024-02-23
71+
72+
73+
False Positives Fixed
74+
---------------------
75+
76+
- ``used-before-assignment`` is no longer emitted when using a name in a loop and
77+
depending on an earlier name assignment in an ``except`` block paired with
78+
``else: continue``.
79+
80+
Closes #6804 (`#6804 <https://github.com/pylint-dev/pylint/issues/6804>`_)
81+
82+
- Avoid false positives for ``no-member`` involving function
83+
attributes supplied by decorators.
84+
85+
Closes #9246 (`#9246 <https://github.com/pylint-dev/pylint/issues/9246>`_)
86+
87+
- Fixed false positive nested-min-max for nested lists.
88+
89+
Closes #9307 (`#9307 <https://github.com/pylint-dev/pylint/issues/9307>`_)
90+
91+
- Fix false positive for ``used-before-assignment`` in a ``finally`` block
92+
when assignments took place in both the ``try`` block and each exception handler.
93+
94+
Closes #9451 (`#9451 <https://github.com/pylint-dev/pylint/issues/9451>`_)
95+
96+
97+
98+
Other Bug Fixes
99+
---------------
100+
101+
- Catch incorrect ValueError ``"generator already executing"`` for Python 3.12.0 - 3.12.2.
102+
This is fixed upstream in Python 3.12.3.
103+
104+
Closes #9138 (`#9138 <https://github.com/pylint-dev/pylint/issues/9138>`_)
105+
106+
107+
68108
What's new in Pylint 3.0.3?
69109
---------------------------
70110
Release date: 2023-12-11

doc/whatsnew/fragments/6804.false_positive

-5
This file was deleted.

doc/whatsnew/fragments/9138.bugfix

-4
This file was deleted.

doc/whatsnew/fragments/9246.false_positive

-4
This file was deleted.

doc/whatsnew/fragments/9307.false_positive

-3
This file was deleted.

doc/whatsnew/fragments/9451.false_positive

-4
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.0.3"
12+
__version__ = "3.0.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.0.3"
4+
current = "3.0.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.0.3"
2+
version = "3.0.4"
33
directory = "doc/whatsnew/fragments"
44
filename = "doc/whatsnew/3/3.0/index.rst"
55
template = "doc/whatsnew/fragments/_template.rst"

0 commit comments

Comments
 (0)