Skip to content

chore(deps-dev): Bump pylint from 4.0.7 to 4.0.8 - #1561

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/pip/pylint-4.0.8
Sep 1, 2026
Merged

chore(deps-dev): Bump pylint from 4.0.7 to 4.0.8#1561
github-actions[bot] merged 1 commit into
mainfrom
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 dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 1, 2026
@dependabot
dependabot Bot deployed to development September 1, 2026 17:43 Active
@github-actions
github-actions Bot enabled auto-merge September 1, 2026 17:43
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:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/pylint-4.0.8 branch from c4c0e15 to 5acdb33 Compare September 1, 2026 18:03
@dependabot
dependabot Bot deployed to development September 1, 2026 18:03 Active
@github-actions
github-actions Bot merged commit 63a43f2 into main Sep 1, 2026
29 checks passed
@github-actions
github-actions Bot deleted the dependabot/pip/pylint-4.0.8 branch September 1, 2026 19:02
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 python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants