Repository navigation
⬆️ Update dependency pylint to v4.1.4 - #533
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #533 +/- ##
=======================================
Coverage 99.14% 99.14%
=======================================
Files 4 4
Lines 469 469
Branches 15 15
=======================================
Hits 465 465
Misses 3 3
Partials 1 1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
renovate
Bot
force-pushed
the
renovate/pylint-4.x
branch
from
November 15, 2026 06:31
f367c59 to
92dd44f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
This PR contains the following updates:
4.1.3→4.1.4Release Notes
pylint-dev/pylint (pylint)
v4.1.4Compare Source
What's new in Pylint 4.1.4?
Release date: 2026-11-14
False Positives Fixed
Fix a false positive for
using-constant-testwhen testing a method or functionwhose decorator is unknown or is a class, such as a third-party
cached_property.astroid still infers such a method as a method, but the decorator may have turned
it into any other value.
Closes #3484
Avoid
dict-init-mutatewhen an assignment's key or value references the dictionary being initialized.Stop the suggested dictionary literal before later assignments that reference the dictionary.
Closes #7997
Fixed a false positive for
unreachablewhen a terminating function call(such as
sys.exit()) is inside a compound expression within a lambda body.Closes #8567
Fix a false positive for
used-before-assignmentwhen a class body uses a module-level or builtin name that a method or nested class defined later in the same class body shadows.Closes #9134
Fixed a false positive
undefined-variable(E0602) when a name annotatedwithout a value (
x: int) is assigned with the walrus operator (:=) inthe condition of a comprehension spanning several lines, and used in its element.
Closes #11647
Fix a false positive for
method-hiddenwhen a decorated method is inferredas a property.
Refs #11732
Fix false positives for
bad-dunder-nameon__prepare__,__mro_entries__,__buffer__,__release_buffer__(Python 3.12+) and__replace__(Python 3.13+).Closes #11791
Other Bug Fixes
Pyreverse now reports a clear error instead of a traceback when
--classnamesan unknown class or module, or omits the module name when analyzing multiple modules.
Targets whose inferred values are all known not to be classes are also rejected.
If a target has several inferred values, Pyreverse uses the first class among them.
Closes #22
Fix a crash when linting a package whose parent directory is an implicit namespace package
that also exists in
site-packagesor the standard library: the module paths of the files inside it could not beresolved, and the given package was reported without its package prefix.
Closes #10278
Fix a crash in the logging checker when a logging call uses a
bytesformat string that is not valid UTF-8.Closes #10813
Fixed an
AssertionErrorcrash in the typecheck checker when accessing an attribute on anEnumexception instance.Closes #11638
Fixed a crash in
use-maxsplit-arg(C0207) when astr.split()orstr.rsplit()call indexed by a variable is used inside a loop that assignsto a subscript, an attribute or an unpacked tuple (for example
obj[0] = 1,obj.attr = 1ora, b = 1, 2). Such targets have nonameattributeand previously raised
AttributeError.The index variable is now also recognized as changed in the loop when it is
reassigned through tuple unpacking or an assignment expression (
:=), whichremoves a false positive.
Refs #11676
--generate-toml-configand--generate-rcfilenow include the plugins given with--load-pluginsor--enable-all-extensions.Closes #11699
Checkers loaded with
--load-pluginsorinit-hookare no longer registered twice in everyworker process, which used to emit each of their messages twice when
--jobswas greater than 1.Closes #11701
Other Changes
Backslashes in message and option descriptions are now escaped in the generated
documentation and in
--full-documentation, souse "\b" insteadno longerrenders as
use "b" instead.Closes #10737
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.