Skip to content

Update dependency pylint to v4.1.4 - #1477

Merged
simu merged 1 commit into
masterfrom
renovate/pylint-4.x
Nov 16, 2026
Merged

simu merged 1 commit into
masterfrom
renovate/pylint-4.x

Conversation

@renovate

@renovate renovate Bot commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
pylint (changelog) 4.1.3 → 4.1.4 age confidence

Release Notes

pylint-dev/pylint (pylint)

v4.1.4

Compare Source

What's new in Pylint 4.1.4?

Release date: 2026-11-14

False Positives Fixed

  • Fix a false positive for using-constant-test when testing a method or function
    whose 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-mutate when 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 unreachable when 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-assignment when 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 annotated
    without a value (x: int) is assigned with the walrus operator (:=) in
    the condition of a comprehension spanning several lines, and used in its element.

    Closes #​11647

  • Fix a false positive for method-hidden when a decorated method is inferred
    as a property.

    Refs #​11732

  • Fix false positives for bad-dunder-name on __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 --class names
    an 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-packages or the standard library: the module paths of the files inside it could not be
    resolved, 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 bytes format string that is not valid UTF-8.

    Closes #​10813

  • Fixed an AssertionError crash in the typecheck checker when accessing an attribute on an Enum exception instance.

    Closes #​11638

  • Fixed a crash in use-maxsplit-arg (C0207) when a str.split() or
    str.rsplit() call indexed by a variable is used inside a loop that assigns
    to a subscript, an attribute or an unpacked tuple (for example obj[0] = 1,
    obj.attr = 1 or a, b = 1, 2). Such targets have no name attribute
    and 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 (:=), which
    removes a false positive.

    Refs #​11676

  • --generate-toml-config and --generate-rcfile now include the plugins given with
    --load-plugins or --enable-all-extensions.

    Closes #​11699

  • Checkers loaded with --load-plugins or init-hook are no longer registered twice in every
    worker process, which used to emit each of their messages twice when --jobs was greater than 1.

    Closes #​11701

Other Changes

  • Backslashes in message and option descriptions are now escaped in the generated
    documentation and in --full-documentation, so use "\b" instead no longer
    renders as use "b" instead.

    Closes #​10737


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from a team as a code owner November 15, 2026 01:25
@renovate renovate Bot added the dependency Pull requests that update a dependency file label Nov 15, 2026
@renovate
renovate Bot force-pushed the renovate/pylint-4.x branch 3 times, most recently from e42b416 to 8ab0e4d Compare November 16, 2026 11:29
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate
renovate Bot force-pushed the renovate/pylint-4.x branch from 8ab0e4d to 76ad57b Compare November 16, 2026 11:46
@simu
simu merged commit e92844a into master Nov 16, 2026
30 of 31 checks passed
@simu
simu deleted the renovate/pylint-4.x branch November 16, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependency Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant