chore(deps-dev): bump pyright from 1.1.271 to 1.1.283
Bumps pyright from 1.1.271 to 1.1.283.
Release notes
Sourced from pyright's releases.
Published 1.1.283
Enhancement: Added support for
# pyright: ignoreand# type: ignorecomments that are not at the start of a comment.Enhancement: Improved parse recovery for common indent/dedent conditions.
Bug Fix: Fixed recent regression that resulted in a false positive when a
type[T]was assigned to aCallable[..., T].Bug Fix: Fixed a regression related to a recent change in typeshed that caused imports from
google.cloudnamespace packages to fail.Bug Fix: Fixed a bug that resulted in incorrect type evaluation when assigning an unpacked TypeVarTuple to a regular (non-variadic) TypeVar during constraint solving. This should result in a union of the TypeVarTuple types.
Bug Fix: Fixed a bug that resulted in a false positive diagnostic when importing a symbol from a "py.typed" library that was imported (and re-exported) from a non-"py.typed" library.
Bug Fix: Changed ParamSpec capture logic to track the expression used for a default argument value.
Bug Fix: Fixed a recent regression that led to a false negative when evaluating the type of an unannotated variable in a loop.
Enhancement: Added support for
frozen_defaultfordataclass_transform.Bug Fix: Fixed recent regression that caused a false positive
reportShadowedStdlibModulesfor relative imports and imports starting with_.Enhancement: Show doc strings on hover over module names within import statements.
Enhancement: Updated typeshed stubs to the latest version.
Enhancement: Added small perf optimization for determining type compatibility between two unions, especially in cases where the number of items in the union is large.
Bug Fix: Added logic to limit recursion when handling type compatibility checks between two different recursive type aliases that have the same definition.
Bug Fix: Fixed bug that resulted in a false positive when passing an unpacked dict or unpacked iterable argument to the constructor of a class that has no
__init__and therefore usesobject.__init__.Bug Fix: Fixed bug that led to a false positive error when using an unpacked argument that has a declared type that is a tuple with an unpacked TypeVarTuple.
Bug Fix: Fixed bug that resulted in a false positive
reportPrivateImportUsagediagnostic when importing from a py.typed library under certain circumstances.Published 1.1.282
Bug Fix: Fixed bug that resulted in false positive error when a recursive type alias involving a union was used in certain circumstances.
Bug Fix: Fixed bug that resulted in incorrect type evaluation when assigning a tuple with an unpacked TypeVarTuple to a tuple with a normal TypeVar.
Bug Fix: Fixed a bug that resulted in a false negative (a missing error) when assigning a union that contains a TypeVar to another union with the same TypeVar.
Bug Fix: Fixed bug that resulted in incorrect type inference for an instance variable that is assigned different types in different places.
Bug Fix: Fixed bug in tokenizer that resulted in false positive error when a floating point literal started with one or more leading zeros.
Bug Fix: Added logic to deal with conflicting namespace packages when one has no
__init__.py(i)file and the other does.Enhancement: Updated typeshed stubs to the latest version.
... (truncated)
Commits
5c8f84fPublished 1.1.283a3fc8b8Published 1.1.2820ef6371Published 1.1.2814bc49e5Push pylance changes to pyright (#4209)e9d29ceBump loader-utils from 2.0.3 to 2.0.4 in /packages/pyright (#4194)8a5997aPublished 1.1.280db1c158Bump loader-utils from 2.0.2 to 2.0.3 in /packages/pyright (#4167)4db3f23Published 1.1.2790fdcb59Published 1.1.278a58485aPublished 1.1.277- 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)