Skip to content

Bump pyright from 1.1.145 to 1.1.146#49

Merged
ITProKyle merged 1 commit intomasterfrom
dependabot/npm_and_yarn/pyright-1.1.146
Jun 3, 2021
Merged

Bump pyright from 1.1.145 to 1.1.146#49
ITProKyle merged 1 commit intomasterfrom
dependabot/npm_and_yarn/pyright-1.1.146

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jun 3, 2021

Bumps pyright from 1.1.145 to 1.1.146.

Release notes

Sourced from pyright's releases.

Published 1.1.146

Enhancement: Updated to the latest version of typeshed stubs.

Behavior Change: Updated reportIncompatibleVariableOverride to avoid reporting an error when a class variable is reassigned a value in a base class without declaring its type.

Bug Fix: Fixed false positive error indicating that a type alias is a variable. This results when a type alias refers to a union and that union is reformed when losing the original type alias.

Enhancement: Added optimization for union creation where all subtypes are the same. This optimization commonly reduces the need to create new types during code flow operations. It also retains type alias info more faithfully.

Enhancement: Added support for __qualname__ and __module__ attributes within a class body.

Behavior Change: Changed call expression evaluation logic to not skip return type inference when there are errors detected during argument expression evaluation. This was previously added as an optimization, but it was leading to confusing results in some cases.

Enhancement: Enhanced logic to detect unannotated decorator functions and treat them as no-ops rather than using return type inference, which often leads to incorrect and confusing results for decorators.

Bug Fix: Fixed bug in pattern matching logic for class patterns where the class uses properties or descriptors for the targeted attributes.

Enhancement (from pylance): Added support for libraries packages as zip/egg containers.

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.145 to 1.1.146.
- [Release notes](https://github.com/Microsoft/pyright/releases)
- [Commits](https://github.com/Microsoft/pyright/commits/1.1.146/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 Jun 3, 2021
@ITProKyle ITProKyle removed the changelog:patch Patch change resulting in a patch release label Jun 3, 2021
@ITProKyle ITProKyle merged commit 3cf5b7e into master Jun 3, 2021
@ITProKyle ITProKyle deleted the dependabot/npm_and_yarn/pyright-1.1.146 branch June 3, 2021 19:44
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