Bump pylint to 3.3.5, update changelog #10266
Merged
+50
−24
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.5?
Release date: 2025-03-09
False Positives Fixed
Fix false positives for
use-implicit-booleaness-not-comparison
,use-implicit-booleaness-not-comparison-to-string
and
use-implicit-booleaness-not-comparison-to-zero
when chained comparisons are checked.Closes
use-implicit-booleaness-not-comparison
should not be offered in N-way comparisons #10065Fix a false positive for
invalid-getnewargs-ex-returned
when the tuple or dict has been assigned to a name.Closes False positive for invalid-getnewargs-ex-returned #10208
Remove
getopt
andoptparse
from the list of deprecated modules.Closes getopt doesn't seem deprecated #10211
Other Bug Fixes
Fixed conditional import x.y causing false positive possibly-used-before-assignment.
Closes conditional import X.Y causes false positive possibly-used-before-assignment #10081
Fix a crash when something besides a class is found in an except handler.
Closes AttributeError: 'Lambda' object has no attribute 'bases' in exceptions checker #10106
Fixed raising invalid-name when using camelCase for private methods with two leading underscores.
Closes When using camel case, private methods with two leading underscores raise invalid-name #10189
Other Changes
Upload release assets to PyPI via Trusted Publishing.
Closes [maintenance] Migrate PyPI release automation to Trusted Publishing #10256