This repository was archived by the owner on Aug 29, 2025. It is now read-only.
  
  
  
  
chore(deps): update dependency pyright to v1.1.395 #174
  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.394->1.1.395Release Notes
Microsoft/pyright (pyright)
v1.1.395: Published 1.1.395Compare Source
Bug Fixes:
__new__method has an explicitAnyreturn type annotation. In this case, type checkers should assume that the return type of__new__is not a subtype of the containing class and should therefore ignore the__init__method.*argsbut the first has one or more additional positional parametersreportUnknownArgumentTypeerror under certain circumstances.*argsthat is unpacked using a*tuple[].isinstanceorissubclasstype guard results in a narrowed type that is synthesized as a subclass oftypeand some other class.*argsparameter that is annotated with an unpacked TypeVarTuple.Behavior Changes:
__init__from override checks even in the case when the override is an object (such as a context manager) rather than a function.type[T]to be treated as assignable toTypeForm[T]in accordance with the latest draft of PEP 747.AsyncGenerator. Previously, this was assumed to be a generator even though ayieldstatement wasn't present. It is now assumed to be aCoroutine. This behavior is not spelled out in the typing spec, but pyright's new behavior is now consistent with mypy's.Enhancements:
enableExperimentalFeaturesis not true.TypeAliasTypeoutside of a class or module scope.Anyto be defined intyping.pyiusing aclassstatement rather than how it has traditionally been defined.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.