Skip to content

Bump pyright from 1.1.158 to 1.1.159#367

Merged
frenck merged 1 commit intomainfrom
dependabot/npm_and_yarn/pyright-1.1.159
Aug 2, 2021
Merged

Bump pyright from 1.1.158 to 1.1.159#367
frenck merged 1 commit intomainfrom
dependabot/npm_and_yarn/pyright-1.1.159

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Bumps pyright from 1.1.158 to 1.1.159.

Release notes

Sourced from pyright's releases.

Published 1.1.159

Bug Fix: Fixed bug that could lead to an internal stack overflow when a generic value was used as an argument for a function or class decorator.

Enhancement: Added support in literal comparison type narrowing to filter out comparisons to "None" in positive case.

Bug Fix: Fixed bug in parser where it was too permissive in allowing keywords to be used as identifiers. The Python interpreter is less permissive, so pyright's parser should match.

Bug Fix: Fixed several bugs that caused crashes (dereference of undefined variable) in certain circumstances.

Enhancement: Added a new log error for the case where enumeration of files within the workspace is taking longer than 10 seconds.

Bug Fix: Fixed bug in tokenizer which treated 'constructor' as a keyword.

Bug Fix: Fixed bug in "type(x) is y" type narrowing logic to handle the case where x is an instance of a generic class.

Enhancement: Added check for illegal trailing comma in "from x import y," statement. This generates a syntax error at runtime.

Enhancement: Added check for illegal use of "Protocol" as a type argument.

Enhancement: Implemented new check for a class that is decorated with @final but does not implement all abstract methods from abstract classes that it derives from.

Enhancement: Added check for inappropriate use of ClassVar that will generate runtime exceptions.

Enhancement: Added logic to enforce protocol mismatches if a member in the protocol is marked "Final" and the class is not (or vice versa).

Behavior Change: Modified assignment type narrowing for index expressions so it applies only to built-in types. This eliminates incorrect type inference when using a class that has assymetric __setitem__ and __getitem__ methods.

Enhancement: Fixed false positive error when @property is combined with @functools.cache.

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.158 to 1.1.159.
- [Release notes](https://github.com/Microsoft/pyright/releases)
- [Commits](https://github.com/Microsoft/pyright/commits/1.1.159/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 Aug 2, 2021
@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 2, 2021

Codecov Report

Merging #367 (c15828f) into main (4c75a9e) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #367   +/-   ##
=======================================
  Coverage   64.15%   64.15%           
=======================================
  Files           4        4           
  Lines         452      452           
  Branches       96       96           
=======================================
  Hits          290      290           
  Misses        146      146           
  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 4c75a9e...c15828f. Read the comment docs.

@frenck frenck merged commit d20841f into main Aug 2, 2021
@frenck frenck deleted the dependabot/npm_and_yarn/pyright-1.1.159 branch August 2, 2021 08:50
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 3, 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