Bump pylint to 3.3.8, update changelog #10486
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What's new in Pylint 3.3.8?
Release date: 2025-08-09
This patch release includes an exceptional fix for a false negative issue. For details, see: #10482 (comment)
False Positives Fixed
Fix false positives for
possibly-used-before-assignmentwhen variables are exhaustivelyassigned within a
matchblock.Closes
possibly-used-before-assignmentdoes not handlematchin nestedif#9668Fix false positive for
missing-raises-docandmissing-yield-docwhen the method length is less than docstring-min-length.Refs Respect docstring-min-length in docparams extension #10104
Fix a false positive for
unused-variablewhen multiple except handlers bind the same name under a try block.Closes False positive
W0612/ 'unused variable' when using same name for exception in except block #10426False Negatives Fixed
Fix false-negative for
used-before-assignmentwithfrom __future__ import annotationsin function definitions.Refs Fix false-negative for used-before-assignment with postponed evaluation in function defs #10482
Other Bug Fixes
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.).
Closes Pyreverse: Aggregations aren't filtered according to filter mode (PUB_ONLY, etc.) #10373
Fix double underscores erroneously rendering as bold in pyreverse's Mermaid output.
Closes Mermaid printer renders double underscores as bold formatting instead of literal underscores #10402