Update dependency pyright to ^1.1.381 #134
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.1.380
->^1.1.381
Release Notes
Microsoft/pyright (pyright)
v1.1.381
: Published 1.1.381Compare Source
Bug Fixes:
type(Any)
to typetype[Any]
.TypeIs
user-defined type guard in certain cases when variable type is a union.isinstance
in the negative case when usingtype
as a filter.NoReturn
callable with a function decorator applied.TypeIs
intersectstype[A]
withtype[B]
. Previously, pyright was producing<subclass of type[A] and type[B]>
but now producestype[<subclass of A and B>]
.venvPath
specified in language server settings to be ignored.__set__
method when assigning to a class variable that is not a descriptor object.Self
in its type definition.Behavior Changes:
TypeForm
based on feedback to draft PEP 747.Enhancements:
reportUnnecessaryIsinstance
check to report cases where anisinstance
orissubclass
call always evaluates toFalse
.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.
This PR was generated by Mend Renovate. View the repository job log.