Bump pylint to 3.2.6, update changelog #9825
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.2.6?
Release date: 2024-07-21
False Positives Fixed
Quiet false positives for
unexpected-keyword-arg
when pylint cannotdetermine which of two or more dynamically defined classes is being instantiated.
Closes Pylint raises error saying "default" isn't valid for TypeVar #9672
Fix a false positive for
missing-param-doc
where a method which is decorated withtyping.overload
was expected to have a docstring specifying its parameters.Closes
@overload
causesmissing-param-doc
despite parameter being documented #9739Fix a regression that raised
invalid-name
on class attributes merelyoverriding invalid names from an ancestor.
Closes
invalid-name
false positive on assignment to class attributetearDown
#9765Treat
assert_never()
the same way when imported fromtyping_extensions
.Closes
possibly-used-before-assignment
does not treatassert_never
the same when imported fromtyping_extensions
#9780Fix a false positive for
consider-using-min-max-builtin
when the assignment target is an attribute.Refs False positive R1730 consider-using-min-builtin, R1731 consider-using-max-builtin #9800
Other Bug Fixes
Fix an
AssertionError
arising from properties that return partial functions.Closes CallContext assertion failed in the wild #9214
Fix a crash when a subclass extends
__slots__
.Closes Weird __slots__ manip causes pylint to crash #9814