Skip to content

fix(deps): update dependency basedpyright to v1.32.0#106

Merged
jfcherng merged 2 commits intomasterfrom
renovate/basedpyright-1.x
Oct 23, 2025
Merged

fix(deps): update dependency basedpyright to v1.32.0#106
jfcherng merged 2 commits intomasterfrom
renovate/basedpyright-1.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Oct 22, 2025

This PR contains the following updates:

Package Change Age Confidence
basedpyright (source) 1.31.7 -> 1.32.0 age confidence

Release Notes

detachhead/basedpyright (basedpyright)

v1.32.0: (pyright 1.1.407)

Compare Source

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, implemented by @​decorator-factory in DetachHead#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 DetachHead#1581

docs
other changes

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: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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.

@github-actions
Copy link
Copy Markdown
Contributor

Following are the schema changes in the new version. Make sure that those are reflected in LSP-basedpyright.sublime-settings and sublime-package.json files.

uv run ./scripts/update_schema.py
sublime-package.json schema updated.

New keys found in the latest pyrightconfig.json schema: 
 - reportSelfClsDefault


Ensure that those are added to the sublime-package.json manually, if relevant.

@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Oct 22, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@jfcherng jfcherng merged commit 5b00aa0 into master Oct 23, 2025
@jfcherng jfcherng deleted the renovate/basedpyright-1.x branch October 23, 2025 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant