Skip to content

Bump pyright from 1.1.150 to 1.1.151#323

Merged
frenck merged 1 commit intomainfrom
dependabot/npm_and_yarn/pyright-1.1.151
Jun 22, 2021
Merged

Bump pyright from 1.1.150 to 1.1.151#323
frenck merged 1 commit intomainfrom
dependabot/npm_and_yarn/pyright-1.1.151

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Bumps pyright from 1.1.150 to 1.1.151.

Release notes

Sourced from pyright's releases.

Published 1.1.151

Enhancement: Added support for metaclasses that support the __getitem__, __setitem__ and __delitem__ magic methods, allowing classes that derive from these metaclasses to be used in index expressions.

Bug Fix: Fixed bug that caused dataclass usage to break in Python 3.6 and older when using the polyfill library.

Enhancement: Added conditional type support for __setitem__ so a value with a type defined by a constrained TypeVar can be assigned to an index expression.

Bug Fix: Fixed bug that caused a crash in the tokenizer when encountering a string literal that is extremely long (>100K in length).

Bug Fix: Fixed bug caused by a variable assignment with a list expression on the RHS that was interpreted temporarily as a type alias declaration. Added more sanity checking on the type of the assigned expression for type aliases.

Bug Fix: Fixed type evaluation bug where Callable is used to annotate an input parameter, and the Callable return type is a union that contains a type variable.

Bug Fix: Fixed bug in constraint solver relating to replacement of return type of the form T when matching was performed against Type[T].

Enhancement: Added support for __builtins__ module symbol symbol.

Enhancement: Added support for type narrowing conditional expressions of the form a is False, a is True, a is not False and a is not True.

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.150 to 1.1.151.
- [Release notes](https://github.com/Microsoft/pyright/releases)
- [Commits](https://github.com/Microsoft/pyright/commits/1.1.151/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 Upgrade or downgrade of project dependencies. javascript labels Jun 21, 2021
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 21, 2021

Codecov Report

Merging #323 (d7daffd) into main (f525520) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #323   +/-   ##
=======================================
  Coverage   65.70%   65.70%           
=======================================
  Files           4        4           
  Lines         414      414           
  Branches       84       84           
=======================================
  Hits          272      272           
  Misses        126      126           
  Partials       16       16           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f525520...d7daffd. Read the comment docs.

@frenck frenck merged commit 16c320a into main Jun 22, 2021
@frenck frenck deleted the dependabot/npm_and_yarn/pyright-1.1.151 branch June 22, 2021 10:48
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Upgrade or downgrade of project dependencies.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant