fix(deps): update dependency pyright to v1.1.148 #1074
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.147
->1.1.148
Release Notes
Microsoft/pyright
v1.1.148
Compare Source
Enhancement: Improved type narrowing of subject expression in a match statement when none of the case statements match the pattern and the code falls through the bottom of the match.
Enhancement: Added support for pattern matching exhaustion detection in cases where there is not an explicit irrefutable pattern present.
Bug Fix: Fixed recent regression that resulted in false positive errors when attempting to instantiate
tuple
ortype
directly.Enhancement: Improved type checking for classes that are assigned to
Callable
types. Previously, type incompatibilities were not reported if the__init__
or__new__
methods were overloaded within the class.Bug Fix: Fixed bug that caused parser error when handling a carriage return within a triple-quoted inner string within an outer triple-quoted f-string.
Bug Fix: Fixed bug that resulted in false positive error when second argument to
NewType
call contained aType
object.Bug Fix: Fixed recent regression that resulted in a false positive error when instantiating a variable of type
Type[T]
whereT
was a protocol class.Bug Fix: Fixed bug in type printer that resulted in double parentheses around return type expressions when they involved unions.
Bug Fix: Fixed bug that resulted in a false positive error when using generic
Type[T]
in a function parameter in overload validation.Bug Fix: Fixed bug in type checker relating to constrained type variables that combine non-union and union constraints.
Bug Fix: Fixed bug in type checker when handling Final variables assigned at the class level. PEP 591 indicates that they should be treated as though they are annotated as ClassVar even though they are not.
Bug Fix: Fixed a bug in the type checker relating to the use of a specialized generic class that is parameterized by a ParamSpec.
Configuration
📅 Schedule: 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 has been generated by Renovate Bot.