Update dependency basedpyright to v1.32.0 #13

Open
Renovate wants to merge 1 commit from renovate/basedpyright-1.x into trunk
Collaborator

This PR contains the following updates:

Package Change Age Confidence
basedpyright ==1.31.5 -> ==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 decorator, 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: https://github.com/DetachHead/basedpyright/compare/v1.31.7...v1.32.0

v1.31.7: (pyright 1.1.406)

Compare Source

What's Changed

performance fixes
semantic highlighting
docs
other changes

New Contributors

Full Changelog: https://github.com/DetachHead/basedpyright/compare/v1.31.6...v1.31.7

v1.31.6: (pyright 1.1.406)

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/DetachHead/basedpyright/compare/v1.31.5...v1.31.6


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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [basedpyright](https://github.com/detachhead/basedpyright) | `==1.31.5` -> `==1.32.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/basedpyright/1.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/basedpyright/1.31.5/1.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>detachhead/basedpyright (basedpyright)</summary> ### [`v1.32.0`](https://github.com/DetachHead/basedpyright/releases/tag/v1.32.0): (pyright 1.1.407) [Compare Source](https://github.com/detachhead/basedpyright/compare/v1.31.7...v1.32.0) #### 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`](https://docs.basedpyright.com/v1.32.0/configuration/config-files/#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](https://docs.basedpyright.com/v1.32.0/benefits-over-pyright/dataclass-transform/), implemented by [@&#8203;decorator-factory](https://github.com/decorator-factory) in [DetachHead#1568](https://github.com/DetachHead/basedpyright/pull/1568) ##### new diagnostic rule - `reportSelfClsDefault` Pyright allows specifying a default value for `self` in instance methods and `cls` in class methods: ```py class Foo: def foo(self=1): ... ``` this is almost certainly a mistake, so this new diagnostic rule will warn against it. also implemented by [@&#8203;decorator-factory](https://github.com/decorator-factory) in [DetachHead#1581](https://github.com/DetachHead/basedpyright/pull/1581) ##### docs - recommend my fork of tach because tach has been abandoned by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1572](https://github.com/DetachHead/basedpyright/pull/1572) - fix typos in docs by [@&#8203;decorator-factory](https://github.com/decorator-factory) in [DetachHead#1582](https://github.com/DetachHead/basedpyright/pull/1582) ##### 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 [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1583](https://github.com/DetachHead/basedpyright/pull/1583) - \[zh-cn l10n] fix incorrect translation of `paramNameMissing` by [@&#8203;NCBM](https://github.com/NCBM) in [DetachHead#1588](https://github.com/DetachHead/basedpyright/pull/1588) - Merge pyright 1.1.407 by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1590](https://github.com/DetachHead/basedpyright/pull/1590) **Full Changelog**: <https://github.com/DetachHead/basedpyright/compare/v1.31.7...v1.32.0> ### [`v1.31.7`](https://github.com/DetachHead/basedpyright/releases/tag/v1.31.7): (pyright 1.1.406) [Compare Source](https://github.com/detachhead/basedpyright/compare/v1.31.6...v1.31.7) #### What's Changed ##### performance fixes - fix performance issues on large enums by [@&#8203;jabbera](https://github.com/jabbera) in [DetachHead#1535](https://github.com/DetachHead/basedpyright/pull/1535) - quicker way to check if a class is an enum before reporting `reportUnannotatedClassAttribute` by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1544](https://github.com/DetachHead/basedpyright/pull/1544) ##### semantic highlighting - Use declarations as the primary source of semantic tokens by [@&#8203;KurtBoehm](https://github.com/KurtBoehm) in [DetachHead#1521](https://github.com/DetachHead/basedpyright/pull/1521) & [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1555](https://github.com/DetachHead/basedpyright/pull/1555) - Type-based descriptor instance highlighting by [@&#8203;KurtBoehm](https://github.com/KurtBoehm) in [DetachHead#1557](https://github.com/DetachHead/basedpyright/pull/1557) ##### docs - update cli installation instructions to make it clear that we recommend uv by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1549](https://github.com/DetachHead/basedpyright/pull/1549) - update basedpyright badge to match the colour of the logo by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1571](https://github.com/DetachHead/basedpyright/pull/1571) ##### other changes - Chinese (Simplified) translations update (2025.10) by [@&#8203;NCBM](https://github.com/NCBM) in [DetachHead#1546](https://github.com/DetachHead/basedpyright/pull/1546) - suggest import aliases from user code if explicitly re-exported by [@&#8203;mstmb-alan](https://github.com/mstmb-alan) in [DetachHead#1539](https://github.com/DetachHead/basedpyright/pull/1539) - report an error when attempting to subscript `array.array` at runtime on python <3.12 by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1552](https://github.com/DetachHead/basedpyright/pull/1552) - fix errors from new builtin `string.templatelib` module and generate stub docstrings for 3.14 by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1551](https://github.com/DetachHead/basedpyright/pull/1551) #### New Contributors - [@&#8203;jabbera](https://github.com/jabbera) made their first contribution in [DetachHead#1535](https://github.com/DetachHead/basedpyright/pull/1535) - [@&#8203;mstmb-alan](https://github.com/mstmb-alan) made their first contribution in [DetachHead#1539](https://github.com/DetachHead/basedpyright/pull/1539) **Full Changelog**: <https://github.com/DetachHead/basedpyright/compare/v1.31.6...v1.31.7> ### [`v1.31.6`](https://github.com/DetachHead/basedpyright/releases/tag/v1.31.6): (pyright 1.1.406) [Compare Source](https://github.com/detachhead/basedpyright/compare/v1.31.5...v1.31.6) #### What's Changed - fix duplicated `reportMatchNotExhaustive` and missing `reportImplicitOverride` in the docs by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1522](https://github.com/DetachHead/basedpyright/pull/1522) - Remove `v` from rev tag for prek in the docs by [@&#8203;sakosha](https://github.com/sakosha) in [DetachHead#1520](https://github.com/DetachHead/basedpyright/pull/1520) - Merge pyright 1.1.406 by [@&#8203;DetachHead](https://github.com/DetachHead) in [DetachHead#1537](https://github.com/DetachHead/basedpyright/pull/1537) - Fix some typos in the Russian localization by [@&#8203;decorator-factory](https://github.com/decorator-factory) in [DetachHead#1531](https://github.com/DetachHead/basedpyright/pull/1531) #### New Contributors - [@&#8203;sakosha](https://github.com/sakosha) made their first contribution in [DetachHead#1520](https://github.com/DetachHead/basedpyright/pull/1520) **Full Changelog**: <https://github.com/DetachHead/basedpyright/compare/v1.31.5...v1.31.6> </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzIuMyIsInVwZGF0ZWRJblZlciI6IjQxLjE1Mi45IiwidGFyZ2V0QnJhbmNoIjoidHJ1bmsiLCJsYWJlbHMiOltdfQ==-->
Update dependency basedpyright to v1.31.6
All checks were successful
Actions / Lint Python (pull_request) Successful in 15s
Actions / Verify Packwiz Hashes (pull_request) Successful in 14s
Actions / Generate Export Files (pull_request) Successful in 18s
0a10c82337
Renovate bot changed title from Update dependency basedpyright to v1.31.6 to Update dependency basedpyright to v1.31.7 2025-10-11 00:30:31 -05:00
Renovate bot force-pushed renovate/basedpyright-1.x from 0a10c82337
All checks were successful
Actions / Lint Python (pull_request) Successful in 15s
Actions / Verify Packwiz Hashes (pull_request) Successful in 14s
Actions / Generate Export Files (pull_request) Successful in 18s
to c080487a69
Some checks failed
Actions / Generate Export Files (pull_request) Failing after 44s
Actions / Verify Packwiz Hashes (pull_request) Failing after 46s
Actions / Lint Python (pull_request) Failing after 51s
2025-10-11 00:30:32 -05:00
Compare
Renovate bot changed title from Update dependency basedpyright to v1.31.7 to Update dependency basedpyright to v1.32.0 2025-10-22 07:44:26 -05:00
Renovate bot force-pushed renovate/basedpyright-1.x from c080487a69
Some checks failed
Actions / Generate Export Files (pull_request) Failing after 44s
Actions / Verify Packwiz Hashes (pull_request) Failing after 46s
Actions / Lint Python (pull_request) Failing after 51s
to 747cb0d01a
All checks were successful
Actions / Lint Python (pull_request) Successful in 13s
Actions / Verify Packwiz Hashes (pull_request) Successful in 33s
Actions / Generate Export Files (pull_request) Successful in 35s
2025-10-22 07:44:28 -05:00
Compare
All checks were successful
Actions / Lint Python (pull_request) Successful in 13s
Actions / Verify Packwiz Hashes (pull_request) Successful in 33s
Actions / Generate Export Files (pull_request) Successful in 35s
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/basedpyright-1.x:renovate/basedpyright-1.x
git switch renovate/basedpyright-1.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch trunk
git merge --no-ff renovate/basedpyright-1.x
git switch renovate/basedpyright-1.x
git rebase trunk
git switch trunk
git merge --ff-only renovate/basedpyright-1.x
git switch renovate/basedpyright-1.x
git rebase trunk
git switch trunk
git merge --no-ff renovate/basedpyright-1.x
git switch trunk
git merge --squash renovate/basedpyright-1.x
git switch trunk
git merge --ff-only renovate/basedpyright-1.x
git switch trunk
git merge renovate/basedpyright-1.x
git push origin trunk
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cswimr/RoNM!13
No description provided.