build(deps-dev): bump pyright from 1.1.184 to 1.1.291
Bumps pyright from 1.1.184 to 1.1.291.
Release notes
Sourced from pyright's releases.
Published 1.1.291
Bug Fix (from Pylance): Allow non-identifier characters immediately after #region.
Bug Fix: Fixed a bug that led to a crash in certain circumstances where a TypedDict field annotation contained a circular reference to the TypedDict.
Bug Fix: Fixed a bug that led to a crash under certain circumstances when a dictionary expansion subexpression (
**val) was used.Bug Fix: Fixed a bug that resulted in incorrect type evaluation for a symbols within a py.typed module that is contained with a non-py.typed namespace package.
Bug Fix: Fixed inconsistency within
isinstancetype guard logic when handling the narrowing of a type that contains a union withAnyorUnknown.Bug Fix: Fixed a bug that resulted in a false positive error when generic class with an invariant type parameter is used in specialized form as a type argument for a class with a contravariant type parameter.
Performance: Improved type analysis performance in some cases that involve protocol matching where the protocol incorporates an overloaded method.
Bug Fix (contribution by André Fontenele): Fixed a bug that caused "go to definition" to go to a bogus position within a file in cases where the identifier refers to a module.
Performance: Added optimization to handle unions that contain large numbers of union literals.
Published 1.1.290
Bug Fix: Fixed regression that resulted in an incorrect
Unknowntype when evaluating a list comprehension in a loop.Bug Fix: Fixed bug that resulted in incorrect contextual evaluation of certain sub-expressions.
Bug Fix: Improved bidirectional type inference logic to handle cases where an expected type includes a TypeVar that is bound to a type that influences the type inference.
Bug Fix: Fixed a recent regression with the truthy/falsy type guard logic when a constrained TypeVar is involved.
Enhancement: Improved error message for implied return type mismatch.
Bug Fix: Fixed bug that resulted in a false positive error when using the
|operator for two sets of str values within ajoincall.Bug Fix: Moved
__init_subclass__argument validation from the checker to the type evaluator so types of keyword arguments used in the class declaration are evaluated consistently. Prior to this, hovering over a keyword argument sometimes displayed anUnknowntype.Bug Fix: Fixed a bug that resulted in a false negative when binding an object to an overloaded method where all of the overloads have an annotated
selftype and none of them match the type of the object.Bug Fix: Fixed a bug that led to infinite recursion in certain circumstances when using a recursive type alias with a type variable.
Bug Fix: Fixed a bug in the type printer that generated incorrect output for bytes literal types that include non-printable characters.
Bug Fix: Fixed a bug that resulted in false positive errors when an f-string uses an escape character sequence within the format string section.
Enhancement: Extended user-defined TypeGuard functions to support objects with
__call__method.Published 1.1.289
Bug Fix: Fixed a bug that resulted in incorrect type evaluation for a callable attribute within a TypedDict or dataclass. If the attribute has no type annotation, it should be treated as a class variable, not an instance variable.
Bug Fix: Fixed a bug that causes incorrect interpretation of a large integer literal value — one that doesn't fit within a 53-bit mantissa.
Bug Fix: Fixed a bug in the truthy/falsy type guard logic when using
self(or another bound TypeVar) where the bound class implements a__bool__method.
... (truncated)
Commits
624fedaPublished 1.1.291c6e79efPublished 1.1.2909a0820dPublished 1.1.289bc4381ePublished 1.1.288b78a9e4Push pylance changes to pyright (#4404)440d54dPublished 1.1.287b8505d8Bump json5 from 2.2.1 to 2.2.3 (#4392)e4472b3Published 1.1.2865c0de8bPublished 1.1.285da55535Published 1.1.284- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)