Skip to content

chore(deps): bump pylint from 3.3.9 to 4.0.8 - #28

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/pylint-4.0.7
Open

chore(deps): bump pylint from 3.3.9 to 4.0.8#28
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/pylint-4.0.7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 24, 2026

Copy link
Copy Markdown
Contributor

Bumps pylint from 3.3.9 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...
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Dependency updates python Python (pip) dependencies labels Aug 24, 2026
Bumps [pylint](https://github.com/pylint-dev/pylint) from 3.3.9 to 4.0.8.
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](pylint-dev/pylint@v3.3.9...v4.0.8)

---
updated-dependencies:
- dependency-name: pylint
  dependency-version: 4.0.7
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps): bump pylint from 3.3.9 to 4.0.7 chore(deps): bump pylint from 3.3.9 to 4.0.8 Sep 9, 2026
@dependabot
dependabot Bot force-pushed the dependabot/pip/pylint-4.0.7 branch from 02dc659 to b527c5e Compare September 9, 2026 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates python Python (pip) dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants