Skip to content

build(deps-dev): bump pyright from 1.1.184 to 1.1.211 - #69

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/pyright-1.1.211
Closed

build(deps-dev): bump pyright from 1.1.184 to 1.1.211#69
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/pyright-1.1.211

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jan 18, 2022

Copy link
Copy Markdown
Contributor

Bumps pyright from 1.1.184 to 1.1.211.

Release notes

Sourced from pyright's releases.

Published 1.1.211

Enhancement: Added support for very large integer literals (both in the tokenizer/parser and in the type system for Literals).

Bug Fix: Fixed bug where call to async function that returns NoReturn was treated as a "no-return" function even though it wasn't awaited.

Enhancement: Added check for class or instance variables that are declared but not assigned in a protocol class and not assigned in a concrete class that explicitly derives from the protocol class.

Bug Fix: Fixed bug in type narrowing logic for isinstance calls where the input value includes a Callable and the class list includes a class that is not a runtime-checkable protocol class. In this case, the Callable should not be removed in the negative ("else") case even if the class defines a compatible __call__ method.

Bug Fix: Fixed bug that resulted in a false positive error when assigning a value to a TypedDict with not-required keys when that key had previously been assigned a literal value that narrowed the type.

Behavior Change: Reverted recent change to TypedDict where the single-argument form of get was removed for not-required fields. This caused problems because there is a fallback overload that accepted this case still.

Behavior Change: Changed reportUnknownArgumentType diagnostic check to be suppressed if the argument is an empty list or dict that comes from a [] or {} expression. While these types do technically contain Unknown type arguments, they are not unsafe, so reporting a diagnostic here is just noise.

Behavior Change: Changed the implementation of reveal_type so it no longer returns a literal string type but now accepts optional keyword arguments expected_text and expected_type. The return type of reveal_type is now the same as the type of the first argument, making it consistent with mypy's implementation of reveal_type.

Enhancement: Modified error messages for Required and NotRequired for clarity.

Bug Fix: Fixed bug in parser that resulted in a false negative error when using an assignment expression within a subscript. This is allowed in the grammar as of Python 3.10.

Enhancement: Updated typeshed stubs to the latest.

Bug Fix: Fixed internal crash caused by infinite recursion.

Bug Fix: Fixed bug that caused a crash in functools.partial special-case logic.

Bug Fix: Fixed bug in type evaluation of index expressions that involve a recursive type alias in the subscript. Also improved text version of expanded types that include recursive type aliases.

Published 1.1.210

Behavior Change: Removed support for two-argument form of TypeGuard including support for "type asserts". The feedback on this idea was relatively negative.

Enhancement: Added provisional support for a proposed StrictTypeGuard feature. For details, refer to this discussion.

Enhancement: Added support for old-style (pre-await) coroutines.

Bug Fix: Fixed a bug that resulted in a false positive in cases involving bidirectional type inference with an expected callable type where one or more of the parameter types was a tuple with non-literal element types and the provided argument was a tuple with a literal value.

Bug Fix: Improved limit check for literal math.

Enhancement: Updated typeshed stubs to the latest.

Bug Fix: Fixed bug that results in false positive when using a super().__init__ call within a metaclass __init__ method.

Bug Fix: Fixed bug that results in a false positive error when using yield within the outermost iterator of a list comprehension.

Bug Fix: Fixed a bug that resulted in a false positive when importing OrderedDict from typing_extensions. Added a mechanism for loading typeshed modules on demand within the type evaluator, including collections/__init__.pyi which declares the real OrderedDict class.

Enhancement: Added improved checks for size mismatches when unpacking known-length iterables into a list target (like [a, b] = (1, 2, 3)).

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

Bumps [pyright](https://github.com/Microsoft/pyright/tree/HEAD/packages/pyright) from 1.1.184 to 1.1.211.
- [Release notes](https://github.com/Microsoft/pyright/releases)
- [Commits](https://github.com/Microsoft/pyright/commits/1.1.211/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 requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 18, 2022
@dependabot @github

dependabot Bot commented on behalf of github Jan 20, 2022

Copy link
Copy Markdown
Contributor Author

Superseded by #71.

@dependabot dependabot Bot closed this Jan 20, 2022
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/pyright-1.1.211 branch January 20, 2022 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants