Update dependency basedpyright to v1.32.0 #13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/basedpyright-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
==1.31.5
->==1.32.0
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#1568new diagnostic rule -
reportSelfClsDefault
Pyright allows specifying a default value for
self
in instance methods andcls
in class methods: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
basedpyright
instead ofpython
when instantiating vscode'sLanguageClient
so that the logging can be configured usingbasedpyright.trace.server
by @DetachHead in DetachHead#1583paramNameMissing
by @NCBM in DetachHead#1588Full 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
reportUnannotatedClassAttribute
by @DetachHead in DetachHead#1544semantic highlighting
docs
other changes
array.array
at runtime on python <3.12 by @DetachHead in DetachHead#1552string.templatelib
module and generate stub docstrings for 3.14 by @DetachHead in DetachHead#1551New 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
reportMatchNotExhaustive
and missingreportImplicitOverride
in the docs by @DetachHead in DetachHead#1522v
from rev tag for prek in the docs by @sakosha in DetachHead#1520New 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.
This PR has been generated by Renovate Bot.
Update dependency basedpyright to v1.31.6to Update dependency basedpyright to v1.31.70a10c82337
c080487a69
Update dependency basedpyright to v1.31.7to Update dependency basedpyright to v1.32.0c080487a69
747cb0d01a
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.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.