Skip to content

Bump pyright from 1.1.158 to 1.1.162#108

Merged
ITProKyle merged 1 commit intomasterfrom
dependabot/npm_and_yarn/pyright-1.1.162
Aug 19, 2021
Merged

Bump pyright from 1.1.158 to 1.1.162#108
ITProKyle merged 1 commit intomasterfrom
dependabot/npm_and_yarn/pyright-1.1.162

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Aug 16, 2021

Bumps pyright from 1.1.158 to 1.1.162.

Release notes

Sourced from pyright's releases.

Published 1.1.162

Enhancement: Added support for unpacking of objects that derive from known-length tuples. This includes named tuples.

Enhancement: Improved match statement code flow logic to handle the case where a pattern is exhausted prior to the last case statement.

Enhancement: Improved "implied else" code flow logic to handle nested "implied else" constructs.

Bug Fix: Fixed regression that affected type narrowing of subscript expressions for TypedDict objects.

Bug Fix: Fixed false positive error caused by inappropriate method binding for instance methods.

Enhancement (from pylance): Added more support in completion provide for literal expressions.

Bug Fix: Changed registration of language server to allow for URI types other than files. This allows pyright to be activated when an untitled file is identified as a python source file.

Bug Fix: Fixed false positive error when assigning to a subscript expression where the base type is a TypedDict.

Bug Fix: Fixed false positive error when "*P.args" parameter (where P is a ParamSpec) is passed as an argument to another function that accepts "P.args".

Bug Fix: Added support for member access expressions where the attribute contains a class whose metaclass implements a descriptor protocol.

Bug Fix: Fixed crash due to infinite recursion when a protocol class included a property getter that returned an instance of the same protocol class.

Enhancement: Improved the readability of error messages related to protocol type mismatches.

Bug Fix (from pylance): Fixed diagnostics for source files that are not on disk (e.g. "untitled" new documents).

Enhancement (from pylance): Added support for attribute docstrings in hover text.

Published 1.1.161

Bug Fix: Fixed bug in declaration provider that caused declaration not to be found when it referred to a metadata method.

Bug Fix: Fixed bug that resulted in a false when evaluating nested lambdas (i.e. a lambda that returns a lambda).

Enhancement: Added support for bidirectional type inference for assignment expressions where the LHS is an index expression that indexes into a TypedDict instance.

Enhancement: Added support for new type narrowing pattern for discriminating among tuples. The pattern is V[I] == L or V[I] != L where I is an integer literal, L is another literal value, V is a tuple with a known length and a type at index I that is declared as a literal type.

Enhancement: Improved logging for import failures. The previous code was printing the same log message for both stub and non-stub package resolution attempts which resulted in seemingly redundant messages.

Enhancement: Added heuristic to allow proper inference of list expressions when used as the RHS operand in an expression of the form my_list + [x].

Bug Fix: Fixed a bug that was masking some error messages when multiple errors were reported for the same range and their message started with the same 25 characters.

Enhancement: Changed method and attribute override compatibility checks to check for inappropriate overrides of all base classes in the multi-inheritance case. Previously, this check used MRO, so some override mismatches were left unreported if they were obscured by another base class. The change also affects @final checks.

Enhancement: Added support for descriptor protocols defined on metaclasses.

Bug Fix: Fixed a bug that caused methods in generic classes to be specialized twice when accessed through a member access expression.

... (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)

@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 Aug 16, 2021
Bumps [pyright](https://github.com/Microsoft/pyright/tree/HEAD/packages/pyright) from 1.1.158 to 1.1.162.
- [Release notes](https://github.com/Microsoft/pyright/releases)
- [Commits](https://github.com/Microsoft/pyright/commits/1.1.162/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 force-pushed the dependabot/npm_and_yarn/pyright-1.1.162 branch from b908fe6 to 077d841 Compare August 19, 2021 14:15
@ITProKyle ITProKyle removed the changelog:patch Patch change resulting in a patch release label Aug 19, 2021
@ITProKyle ITProKyle merged commit a9c98e2 into master Aug 19, 2021
@ITProKyle ITProKyle deleted the dependabot/npm_and_yarn/pyright-1.1.162 branch August 19, 2021 14:17
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