Skip to content

Commit 98942ba

Browse files
Bump pylint to 3.3.8, update changelog (#10486)
1 parent 6a1620a commit 98942ba

File tree

11 files changed

+51
-22
lines changed

11 files changed

+51
-22
lines changed

doc/whatsnew/3/3.3/index.rst

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,53 @@ Summary -- Release highlights
1414

1515
.. towncrier release notes start
1616
17+
What's new in Pylint 3.3.8?
18+
---------------------------
19+
Release date: 2025-08-09
20+
21+
This patch release includes an exceptional fix for a false negative issue.
22+
For details, see: https://github.com/pylint-dev/pylint/pull/10482#issuecomment-3164514082
23+
24+
False Positives Fixed
25+
---------------------
26+
27+
- Fix false positives for `possibly-used-before-assignment` when variables are exhaustively
28+
assigned within a `match` block.
29+
30+
Closes #9668 (`#9668 <https://github.com/pylint-dev/pylint/issues/9668>`_)
31+
32+
- Fix false positive for `missing-raises-doc` and `missing-yield-doc` when the method length is less than docstring-min-length.
33+
34+
Refs #10104 (`#10104 <https://github.com/pylint-dev/pylint/issues/10104>`_)
35+
36+
- Fix a false positive for ``unused-variable`` when multiple except handlers bind the same name under a try block.
37+
38+
Closes #10426 (`#10426 <https://github.com/pylint-dev/pylint/issues/10426>`_)
39+
40+
41+
42+
False Negatives Fixed
43+
---------------------
44+
45+
- Fix false-negative for ``used-before-assignment`` with ``from __future__ import annotations`` in function definitions.
46+
47+
Refs #10482 (`#10482 <https://github.com/pylint-dev/pylint/issues/10482>`_)
48+
49+
50+
51+
Other Bug Fixes
52+
---------------
53+
54+
- Fix a bug in Pyreverse where aggregations and associations were included in diagrams regardless of the selected --filter-mode (such as PUB_ONLY, ALL, etc.).
55+
56+
Closes #10373 (`#10373 <https://github.com/pylint-dev/pylint/issues/10373>`_)
57+
58+
- Fix double underscores erroneously rendering as bold in pyreverse's Mermaid output.
59+
60+
Closes #10402 (`#10402 <https://github.com/pylint-dev/pylint/issues/10402>`_)
61+
62+
63+
1764
What's new in Pylint 3.3.7?
1865
---------------------------
1966
Release date: 2025-05-04

doc/whatsnew/fragments/10104.false_positive

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

doc/whatsnew/fragments/10373.bugfix

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

doc/whatsnew/fragments/10402.bugfix

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

doc/whatsnew/fragments/10426.false_positive

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

doc/whatsnew/fragments/10482.false_negative

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

doc/whatsnew/fragments/9668.false_positive

Lines changed: 0 additions & 4 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__ = "3.3.7"
12+
__version__ = "3.3.8"
1313

1414

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

script/.contributors_aliases.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@
273273
"mails": [
274274
"66853113+pre-commit-ci[bot]@users.noreply.github.com",
275275
"49699333+dependabot[bot]@users.noreply.github.com",
276+
"212256041+pylint-backport-bot[bot]@users.noreply.github.com",
276277
"41898282+github-actions[bot]@users.noreply.github.com"
277278
],
278279
"name": "bot"

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/pylint-dev/pylint"
22

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

0 commit comments

Comments
 (0)