Update dependency pyright to ^1.1.380 #128
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.379
->^1.1.380
Release Notes
Microsoft/pyright (pyright)
v1.1.380
: Published 1.1.380Compare Source
Bug Fixes:
super()
and the second argument istype[Self]
.defaultdict
) to a callable type.match
statement.--verifytypes
and the function has a decorator applied that uses a ParamSpec.isinstance
orTypeIs
when the filter type (the second argument toisinstance
) is a subclass oftype
.in
(containment) operator when the filter includes class objects (instances oftype
).x is ...
(ellipsis) type guard pattern.TypeAlias
qualifier.TypeIs
when it is used with aCallable
type form.isinstance
type narrowing code involving callablesEnhancements:
ABCMeta
. Classes instantiated from such metaclasses are now treated as abstract.Behavior Changes:
**
) when used in an argument expression for a call and the operand is a TypedDict. It now takes into account the fact that a (non-closed) TypedDict can contain additional keys withobject
values. This new behavior is consistent with mypy.Never
._AnnotatedAlias
to be used with an implicit__getitem__
call even though this type is not documented or declared in typeshed.from __future__
import statement, which has no meaning in stub files.callable
type guard pattern. Now that typeshed defines this with aTypeIs
, we no longer require custom logic here.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.