Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 13, 2025

Bumps pylint[spelling] from 3.3.9 to 4.0.0.

Release notes

Sourced from pylint[spelling]'s releases.

v4.0.0

  • Pylint now supports Python 3.14.

  • Pylint's inference engine (astroid) is now much more precise, understanding implicit booleanness and ternary expressions. (Thanks @​zenlyj!)

Consider this example:

class Result:
    errors: dict | None = None
result = Result()
if result.errors:
result.errors[field_key]
# inference engine understands result.errors cannot be None
# pylint no longer raises unsubscriptable-object

The required astroid version is now 4.0.0. See the astroid changelog for additional fixes, features, and performance improvements applicable to pylint.

  • Handling of invalid-name at the module level was patchy. Now, module-level constants that are reassigned are treated as variables and checked against --variable-rgx rather than --const-rgx. Module-level lists, sets, and objects can pass against either regex.

Here, LIMIT is reassigned, so pylint only uses --variable-rgx:

LIMIT = 500  # [invalid-name]
if sometimes:
    LIMIT = 1  # [invalid-name]

If this is undesired, refactor using exclusive assignment so that it is evident that this assignment happens only once:

if sometimes:
    LIMIT = 1
else:
    LIMIT = 500  # exclusive assignment: uses const regex, no warning

Lists, sets, and objects still pass against either const-rgx or variable-rgx even if reassigned, but are no longer completely skipped:

MY_LIST = []
my_list = []
</tr></table> 

... (truncated)

Commits
  • 0939ac5 Bump pylint to 4.0.0, update changelog
  • ea25969 [doc] Add linked references for message in old whatsnews (#10638)
  • 77c63d6 [refactor] Make pylint/config/_breaking_changes.py a package instead
  • 1c4c1e3 [refactor] Better typing for Information
  • e0e476e [config upgrade] Add option renaming for 'extension-pkg-whitelist'
  • c74a0f2 [refactor] Inline the information used only once
  • 6ce6032 Drop isort 4, and clean up the resulting code (#10641)
  • 7be0b8f Add mypy config for local tests (#10635)
  • 6f91463 Update astroid to 4.0.1 (#10633)
  • 91d57ad [contributor-txt] Upgrade the contributor aliases
  • Additional commits viewable 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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[spelling]](https://github.com/pylint-dev/pylint) from 3.3.9 to 4.0.0.
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](pylint-dev/pylint@v3.3.9...v4.0.0)

---
updated-dependencies:
- dependency-name: pylint[spelling]
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 13, 2025
@github-actions github-actions bot enabled auto-merge October 13, 2025 16:19
@github-actions github-actions bot merged commit 2e37996 into main Oct 13, 2025
9 checks passed
@github-actions github-actions bot deleted the dependabot/pip/pylint-spelling--4.0.0 branch October 13, 2025 16:22
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