Skip to content

Bump pylint from 4.0.7 to 4.0.8 - #248

Merged
lcombs15 merged 1 commit into
masterfrom
dependabot/pip/pylint-4.0.8
Sep 1, 2026
Merged

Bump pylint from 4.0.7 to 4.0.8#248
lcombs15 merged 1 commit into
masterfrom
dependabot/pip/pylint-4.0.8

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 1, 2026

Copy link
Copy Markdown
Contributor

Bumps pylint from 4.0.7 to 4.0.8.

Release notes

Sourced from pylint's releases.

v4.0.8

What's new in Pylint 4.0.8?

Release date: 2026-08-29

False Positives Fixed

  • Fix a false positive for :ref:unspecified-encoding when an open call uses a mode argument that cannot be inferred.

    Closes #10201

  • Fix a false positive for invalid-name (C0103) on names assigned in an if __name__ == "__main__": block. Such a block reads like a script body, so a name there is now accepted if it matches either the constant or the variable naming style.

    Closes #10766

  • Fix false positives for :ref:invalid-str-returned, :ref:invalid-repr-returned, :ref:invalid-format-returned, :ref:invalid-bytes-returned, :ref:invalid-hash-returned, :ref:invalid-index-returned, :ref:invalid-length-returned, :ref:invalid-length-hint-returned, :ref:invalid-getnewargs-returned and :ref:invalid-getnewargs-ex-returned when the returned value is an instance of a subclass of the expected builtin type, such as self in a str subclass or a namedtuple.

    Closes #11306

  • Fix false positives for :ref:bad-string-format-type when the argument is an instance of a subclass of int, float or str, such as bool or an IntEnum member formatted with %d.

    Closes #11315

False Negatives Fixed

  • redundant-unittest-assert now also flags assertEqual and assertNotEqual when both compared values are constants, e.g. self.assertEqual(5, 5).

    Closes #11321

Other Bug Fixes

... (truncated)

Commits
  • ecb84ba Bump pylint to 4.0.8, update changelog (#11355)
  • 989e9c5 [Backport maintenance/4.0.x] Support isort 9 (#11354)
  • 8c1ee95 Flag assertEqual and assertNotEqual between two constants in W1503
  • eadefe3 Fix false positive bad-string-format-type for subclasses of builtin types
  • db00e3b [Backport maintenance/4.0.x] fix(docparams): guard decorated_with_property ag...
  • 7909c17 Accept subclass instances in the invalid-*-returned checks
  • d19640d [Backport maintenance/4.0.x] Fix invalid-name false positive in `if _name...
  • 94e5704 Skip unspecified-encoding for unknown open modes (#11163)
  • d59b329 fix(refactoring): handle non-AssignName targets in use-yield-from (#11286) (#...
  • eea0569 [Backport maintenance/4.0.x] Fix crash in docparams on raising a non-exceptio...
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [pylint](https://github.com/pylint-dev/pylint) from 4.0.7 to 4.0.8.
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](pylint-dev/pylint@v4.0.7...v4.0.8)

---
updated-dependencies:
- dependency-name: pylint
  dependency-version: 4.0.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file Patch Tiny update labels Sep 1, 2026
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file Patch Tiny update labels Sep 1, 2026
@lcombs15
lcombs15 merged commit 756bc7a into master Sep 1, 2026
8 checks passed
@lcombs15
lcombs15 deleted the dependabot/pip/pylint-4.0.8 branch September 1, 2026 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file Patch Tiny update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant