Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 5, 2025

This PR contains the following updates:

Package Type Update Change Pending
basedpyright feature-lint minor >=1.31.7 -> >=1.32.0 1.32.1

Release Notes

DetachHead/basedpyright (basedpyright)

v1.32.0: (pyright 1.1.407)

What's Changed

enableBasedFeatures

until now, basedpyright-exclusive type checking features have mostly come in the form of an additional diagnostic rule that users have the option to disable. but this approach limits us from making any interesting breaking changes to the type system itself.

this release introduces a new setting called enableBasedFeatures, which is disabled by default. enabling it will opt you into any changes we make that introduce breaking changes to the type system. in other words, if you're developing a library and expect your users to be using other type checkers, you should probably keep it disabled.

currently only one feature is behind this flag: the new skip_replace argument to the @dataclass_transform decorator, implemented by @​decorator-factory in #​1568

new diagnostic rule - reportSelfClsDefault

Pyright allows specifying a default value for self in instance methods and cls in class methods:

class Foo:
    def foo(self=1):
        ...

this is almost certainly a mistake, so this new diagnostic rule will warn against it.

also implemented by @​decorator-factory in #​1581

docs
other changes
  • use the name basedpyright instead of python when instantiating vscode's LanguageClient so that the logging can be configured using basedpyright.trace.server by @​DetachHead in #​1583
  • [zh-cn l10n] fix incorrect translation of paramNameMissing by @​NCBM in #​1588
  • Merge pyright 1.1.407 by @​DetachHead in #​1590

Full Changelog: DetachHead/basedpyright@v1.31.7...v1.32.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Nov 5, 2025
@renovate renovate bot merged commit 1a6964b into main Nov 5, 2025
13 checks passed
@renovate renovate bot deleted the renovate/basedpyright-1.x branch November 5, 2025 20:31
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant