Skip to content

Bump pyright from 1.1.153 to 1.1.158#91

Merged
ITProKyle merged 1 commit intomasterfrom
dependabot/npm_and_yarn/pyright-1.1.158
Jul 26, 2021
Merged

Bump pyright from 1.1.153 to 1.1.158#91
ITProKyle merged 1 commit intomasterfrom
dependabot/npm_and_yarn/pyright-1.1.158

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jul 26, 2021

Bumps pyright from 1.1.153 to 1.1.158.

Release notes

Sourced from pyright's releases.

Published 1.1.158

Bug Fix: Fixed handling of generic type aliases with missing type arguments used in type annotations when the type alias itself is a member access expression.

Enhancement: Added new diagnostic check (controlled by the existing "reportUnsupportedDunderAll" config switch) that reports an issue with a name specified in __all__ if that symbol does not exist at the module level.

Enhancement: Updated typeshed stubs to latest version.

Enhancement: Added support for nested callables that use a ParamSpec at each level.

Bug Fix: Fixed false positive error related to the use of the Final keyword when annotating attributes within a dataclass.

Bug Fix: Fixed bug in TypeVar matching logic that allowed Type[T] to be matched against an instance of a type.

Behavior Change: Changed type checking logic for functions to allow a function with a return result of NoReturn to match against any other return type.

Bug Fix: Fixed false positive error in parser dealing with f-strings with string literals within the f-string expression that, in turn, have quotes within the string literal.

Enhancement: Added support for "attribute docstrings" (defined in PEP 258) in completion provider.

Bug Fix: Fixed bug in type analyzer related to a TypeVar with a bound type that is a union.

Published 1.1.157

Bug Fix: Fixed false positive error when calling an object that has an Any in its inheritance chain.

Enhancement: Improved support for callable type narrowing in cases where the type is a non-callable instance, but a subtype could be callable.

Enhancement: Improved handling of callable type narrowing when the type involves a constrained type variable.

Enhancement: Added support for ParamSpec's within a Protocol, which is supported in Python 3.10.

Enhancement: Improved handling of isinstance type narrowing logic when the type being narrowed is a callable.

Bug Fix: Fixed recent regression in type evaluator that occurs when a generic (non-specialized) type is assigned to another generic type and the type parameter(s) for the generic type are invariant.

Bug Fix: Fixed bug that caused diagnostics from an open file not to be cleared after closing that file if it was not saved.

Enhancement (from pylance): Improved completion suggestions for literals when used as dictionary keys.

New Feature: Implemented "reportUninitializedInstanceVariable" diagnostic check that looks for instance variables that are not initialized in the class body or constructor.

Bug Fix: Fixed false positive error due to bug in constraint solver related to the handling of Type[T] when T is a constrained type variable.

Bug Fix: Fixed false positive error related to the use of a recursive type alias when from __future__ import annotations was in effect.

Bug Fix: Fixed false negative related to augmented assignment expressions when operand was a union type and a subset of the union subtypes were not supported for the operation.

Published 1.1.156

Bug Fix: Fixed false positive error related to member access of optional type.

Bug Fix: Fixed false positive error related to an escape sequence (backslash) used in an f-string format specifier.

... (truncated)

Commits

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [pyright](https://github.com/Microsoft/pyright/tree/HEAD/packages/pyright) from 1.1.153 to 1.1.158.
- [Release notes](https://github.com/Microsoft/pyright/releases)
- [Commits](https://github.com/Microsoft/pyright/commits/1.1.158/packages/pyright)

---
updated-dependencies:
- dependency-name: pyright
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull request that updates a dependency file javascript Pull request that updates Javascript code changelog:patch Patch change resulting in a patch release labels Jul 26, 2021
@ITProKyle ITProKyle removed the changelog:patch Patch change resulting in a patch release label Jul 26, 2021
@ITProKyle ITProKyle merged commit 1140e44 into master Jul 26, 2021
@ITProKyle ITProKyle deleted the dependabot/npm_and_yarn/pyright-1.1.158 branch July 26, 2021 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull request that updates a dependency file javascript Pull request that updates Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant