Skip to content

⬆️ Bump pyright from 1.1.147 to 1.1.148#309

Merged
frenck merged 1 commit intomainfrom
dependabot/npm_and_yarn/pyright-1.1.148
Jun 10, 2021
Merged

⬆️ Bump pyright from 1.1.147 to 1.1.148#309
frenck merged 1 commit intomainfrom
dependabot/npm_and_yarn/pyright-1.1.148

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Bumps pyright from 1.1.147 to 1.1.148.

Release notes

Sourced from pyright's releases.

Published 1.1.148

Enhancement: Improved type narrowing of subject expression in a match statement when none of the case statements match the pattern and the code falls through the bottom of the match.

Enhancement: Added support for pattern matching exhaustion detection in cases where there is not an explicit irrefutable pattern present.

Bug Fix: Fixed recent regression that resulted in false positive errors when attempting to instantiate tuple or type directly.

Enhancement: Improved type checking for classes that are assigned to Callable types. Previously, type incompatibilities were not reported if the __init__ or __new__ methods were overloaded within the class.

Bug Fix: Fixed bug that caused parser error when handling a carriage return within a triple-quoted inner string within an outer triple-quoted f-string.

Bug Fix: Fixed bug that resulted in false positive error when second argument to NewType call contained a Type object.

Bug Fix: Fixed recent regression that resulted in a false positive error when instantiating a variable of type Type[T] where T was a protocol class.

Bug Fix: Fixed bug in type printer that resulted in double parentheses around return type expressions when they involved unions.

Bug Fix: Fixed bug that resulted in a false positive error when using generic Type[T] in a function parameter in overload validation.

Bug Fix: Fixed bug in type checker relating to constrained type variables that combine non-union and union constraints.

Bug Fix: Fixed bug in type checker when handling Final variables assigned at the class level. PEP 591 indicates that they should be treated as though they are annotated as ClassVar even though they are not.

Bug Fix: Fixed a bug in the type checker relating to the use of a specialized generic class that is parameterized by a ParamSpec.

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

codecov Bot commented Jun 10, 2021

Codecov Report

Merging #309 (6e88675) into main (1b28bb9) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #309   +/-   ##
=======================================
  Coverage   66.57%   66.57%           
=======================================
  Files           4        4           
  Lines         356      356           
  Branches       70       70           
=======================================
  Hits          237      237           
  Misses        108      108           
  Partials       11       11           

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 1b28bb9...6e88675. Read the comment docs.

@frenck frenck merged commit 37318ec into main Jun 10, 2021
@frenck frenck deleted the dependabot/npm_and_yarn/pyright-1.1.148 branch June 10, 2021 11:00
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 12, 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