Skip to content

Commit eaecbe9

Browse files
chore(deps): bump pylint from 4.0.7 to 4.0.8 in /scripts (#3901)
Bumps [pylint](https://github.com/pylint-dev/pylint) from 4.0.7 to 4.0.8. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pylint-dev/pylint/releases">pylint's releases</a>.</em></p> <blockquote> <h2>v4.0.8</h2> <h2>What's new in Pylint 4.0.8?</h2> <p>Release date: 2026-08-29</p> <h2>False Positives Fixed</h2> <ul> <li> <p>Fix a false positive for :ref:<code>unspecified-encoding</code> when an <code>open</code> call uses a mode argument that cannot be inferred.</p> <p>Closes <a href="https://redirect.github.com/pylint-dev/pylint/issues/10201">#10201</a></p> </li> <li> <p>Fix a false positive for <code>invalid-name</code> (C0103) on names assigned in an <code>if __name__ == &quot;__main__&quot;:</code> 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.</p> <p>Closes <a href="https://redirect.github.com/pylint-dev/pylint/issues/10766">#10766</a></p> </li> <li> <p>Fix false positives for :ref:<code>invalid-str-returned</code>, :ref:<code>invalid-repr-returned</code>, :ref:<code>invalid-format-returned</code>, :ref:<code>invalid-bytes-returned</code>, :ref:<code>invalid-hash-returned</code>, :ref:<code>invalid-index-returned</code>, :ref:<code>invalid-length-returned</code>, :ref:<code>invalid-length-hint-returned</code>, :ref:<code>invalid-getnewargs-returned</code> and :ref:<code>invalid-getnewargs-ex-returned</code> when the returned value is an instance of a subclass of the expected builtin type, such as <code>self</code> in a <code>str</code> subclass or a <code>namedtuple</code>.</p> <p>Closes <a href="https://redirect.github.com/pylint-dev/pylint/issues/11306">#11306</a></p> </li> <li> <p>Fix false positives for :ref:<code>bad-string-format-type</code> when the argument is an instance of a subclass of <code>int</code>, <code>float</code> or <code>str</code>, such as <code>bool</code> or an <code>IntEnum</code> member formatted with <code>%d</code>.</p> <p>Closes <a href="https://redirect.github.com/pylint-dev/pylint/issues/11315">#11315</a></p> </li> </ul> <h2>False Negatives Fixed</h2> <ul> <li> <p><code>redundant-unittest-assert</code> now also flags <code>assertEqual</code> and <code>assertNotEqual</code> when both compared values are constants, e.g. <code>self.assertEqual(5, 5)</code>.</p> <p>Closes <a href="https://redirect.github.com/pylint-dev/pylint/issues/11321">#11321</a></p> </li> </ul> <p>Other Bug Fixes</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pylint-dev/pylint/commit/ecb84baf74ae152a511e5fdada5000c85250a48f"><code>ecb84ba</code></a> Bump pylint to 4.0.8, update changelog (<a href="https://redirect.github.com/pylint-dev/pylint/issues/11355">#11355</a>)</li> <li><a href="https://github.com/pylint-dev/pylint/commit/989e9c561f31d52abecd10bcb4b861f389f5521f"><code>989e9c5</code></a> [Backport maintenance/4.0.x] Support isort 9 (<a href="https://redirect.github.com/pylint-dev/pylint/issues/11354">#11354</a>)</li> <li><a href="https://github.com/pylint-dev/pylint/commit/8c1ee95bde477e8adfb2dbd03b5084a81435a19b"><code>8c1ee95</code></a> Flag assertEqual and assertNotEqual between two constants in W1503</li> <li><a href="https://github.com/pylint-dev/pylint/commit/eadefe3d92e0e08b6e36bb491ec2f475c715d817"><code>eadefe3</code></a> Fix false positive bad-string-format-type for subclasses of builtin types</li> <li><a href="https://github.com/pylint-dev/pylint/commit/db00e3b31cc1a96be14caa4ed382a1ccd3fcbd38"><code>db00e3b</code></a> [Backport maintenance/4.0.x] fix(docparams): guard decorated_with_property ag...</li> <li><a href="https://github.com/pylint-dev/pylint/commit/7909c178b5f5db1812e5cef62818a06c1eac0e04"><code>7909c17</code></a> Accept subclass instances in the invalid-*-returned checks</li> <li><a href="https://github.com/pylint-dev/pylint/commit/d19640da2ab5b221673ac352875bed3cd73167ce"><code>d19640d</code></a> [Backport maintenance/4.0.x] Fix <code>invalid-name</code> false positive in `if _<em>name</em>...</li> <li><a href="https://github.com/pylint-dev/pylint/commit/94e57048cb86471dd36c6e379650aaedf2131b6c"><code>94e5704</code></a> Skip unspecified-encoding for unknown open modes (<a href="https://redirect.github.com/pylint-dev/pylint/issues/11163">#11163</a>)</li> <li><a href="https://github.com/pylint-dev/pylint/commit/d59b329510da3d6e43fa544efa2818d1899e0f27"><code>d59b329</code></a> fix(refactoring): handle non-AssignName targets in use-yield-from (<a href="https://redirect.github.com/pylint-dev/pylint/issues/11286">#11286</a>) (#...</li> <li><a href="https://github.com/pylint-dev/pylint/commit/eea056903e8385c41e9bcde32baaf4205209fef9"><code>eea0569</code></a> [Backport maintenance/4.0.x] Fix crash in docparams on raising a non-exceptio...</li> <li>See full diff in <a href="https://github.com/pylint-dev/pylint/compare/v4.0.7...v4.0.8">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pylint&package-manager=pip&previous-version=4.0.7&new-version=4.0.8)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent fc15151 commit eaecbe9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ safety==3.8.1
77

88
# Development tools
99
black==26.5.1
10-
pylint==4.0.7
10+
pylint==4.0.8
1111

1212
# Runtime dependencies (if needed in future)
1313
# Add any required packages here with pinned versions

0 commit comments

Comments
 (0)