Skip to content

Commit 32304fe

Browse files
Pierre-Sassoulascdce8pjacobtylerwallspylint-backport-bot[bot]pavan-msys
authored
Merge branch 'maintenance/3.3.x' into main following 3.3.8 release (#10487)
* [ci] Install pylint before every test (#10388) (#10389) Co-authored-by: Marc Mueller <[email protected]> * Improve backport job permissions (#10390) (#10391) (cherry picked from commit 222ab20) * Resolve `possibly-used-before-assignment` false positives from `match` block assignments (#10393) (cherry picked from commit ad14b5b) * Use custom Github App to authenticate backport job (#10394) (#10396) (cherry picked from commit 6be8676) Co-authored-by: Marc Mueller <[email protected]> * Fix Pyreverse: Aggregations aren't filtered according to filter mode (PUB_ONLY, etc.) (#10379) (#10401) * updated diagrams.py file * added tests * updated tests * added test cases * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- (cherry picked from commit ed59632) Co-authored-by: pavan-msys <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Fix Mermaid printer rendering double underscores as bold formatting (#10403) (#10410) (cherry picked from commit 25a0f9e) Co-authored-by: Julian Grimm <[email protected]> Co-authored-by: Pierre Sassoulas <[email protected]> * Respect docstring-min-length in docparams extension (#10104) (#10434) (cherry picked from commit 7f5e996) Co-authored-by: Berker ŞAL <[email protected]> * Fix `unused-variable` false positive when using same name for multiple exceptions (#10436) (#10481) (cherry picked from commit 9e72867) Co-authored-by: Zen Lee <[email protected]> * Fix false-negative for used-before-assignment with postponed evaluation in function defs (#10482) (#10483) (cherry picked from commit d363fca) Co-authored-by: Marc Mueller <[email protected]> * Update pytest-benchmark requirement from ~=4.0 to ~=5.1 (#10066) (#10484) (cherry picked from commit f04761b) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump pylint to 3.3.8, update changelog (#10486) --------- Co-authored-by: Marc Mueller <[email protected]> Co-authored-by: Jacob Walls <[email protected]> Co-authored-by: pylint-backport-bot[bot] <212256041+pylint-backport-bot[bot]@users.noreply.github.com> Co-authored-by: pavan-msys <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Julian Grimm <[email protected]> Co-authored-by: Berker ŞAL <[email protected]> Co-authored-by: Zen Lee <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 parents dfbbd30 + 25d4890 commit 32304fe

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
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

script/.contributors_aliases.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@
281281
"mails": [
282282
"66853113+pre-commit-ci[bot]@users.noreply.github.com",
283283
"49699333+dependabot[bot]@users.noreply.github.com",
284+
"212256041+pylint-backport-bot[bot]@users.noreply.github.com",
284285
"41898282+github-actions[bot]@users.noreply.github.com"
285286
],
286287
"name": "bot"

0 commit comments

Comments
 (0)