chore(deps): update dependency pyright to v1.1.394 #168
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.393
->1.1.394
Release Notes
Microsoft/pyright (pyright)
v1.1.394
: Published 1.1.394Compare Source
Enhancements:
nonlocal
statement. This results in a runtime exception, so it should be reported as an error.extra_items
. Also added check for cases whereclosed
andextra_items
are both specified.@final
.Bug Fixes:
**kwargs
. The typing spec indicates that this should fail because TypedDicts are not closed.a, *self.b = (1, 2, 3)
).x in y
type guard pattern. Thein
operator uses equality checks, and__eq__
can succeed for objects of disjoint types, which means disjointedness cannot be used as the basis for narrowing here. This change also affects thereportUnnecessaryContains
check, which leverages the same logic.*args
parameter in the fallback (the last overload). In particular, this affected thezip
constructor.@final
consistency when it is applied toTypedDict
.Behavior Changes:
pop
method to handle the case where the caller passes a key name that is not specified in the TypedDict definition.async def
function fromtyping.Coroutine
totypes.CoroutineType
for improved type accuracy.__slots__
symbol when determining whether a class is a callback protocol.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 was generated by Mend Renovate. View the repository job log.