Skip to content

chore(deps-dev): bump pylint from 4.0.5 to 4.0.8 - #2058

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/pylint-4.0.8
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/pylint-4.0.8

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps pylint from 4.0.5 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 Pull requests that update a dependency file python Pull requests that update Python code labels Sep 14, 2026
@dependabot
dependabot Bot requested a review from amilcarlucas as a code owner September 14, 2026 01:05
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 14, 2026
@github-actions

github-actions Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

☂️ Code Coverage

current status: ✅

Overall Coverage

Statements Covered Coverage Threshold Status
21259 19050 90% 89% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: 1d77ef8 by action🐍

@github-actions

github-actions Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Test Results

     4 files  ±0       4 suites  ±0   38m 44s ⏱️ - 1m 31s
 5 397 tests ±0   5 387 ✅ ±0   7 💤 ±0  3 ❌ ±0 
21 366 runs  ±0  21 321 ✅ ±0  39 💤 ±0  6 ❌ ±0 

For more details on these failures, see this check.

Results for commit 1d77ef8. ± Comparison against base commit 06685ce.

♻️ This comment has been updated with latest results.

@dependabot
dependabot Bot force-pushed the dependabot/pip/pylint-4.0.8 branch 2 times, most recently from c84b3a4 to 14d07b0 Compare September 17, 2026 15:04
Bumps [pylint](https://github.com/pylint-dev/pylint) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](pylint-dev/pylint@v4.0.5...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 14d07b0 to 1d77ef8 Compare September 17, 2026 15:33
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