npm pyright 1.1.13
Published 1.1.13

latest releases: 1.1.362, 1.1.361, 1.1.360...
4 years ago

Enhancement: Added special-cases support in type constraint logic for types Tuple[()] and Literal[False], both of which are always falsy.

Enhancement: Added error condition for wildcard import that's not at the module scope.

Enhancement: Added error condition to detect Protocol class passed as second argument to isinstance or issubclass.

Bug Fix: Fixed bug in decorator processing that caused cached_property to always evaluate the property type as Unknown.

Bug Fix: Improved wildcard import logic. It now attempts to honor all assignment in target module. If all is not defined, all symbols except for those starting with an underscore are imported.

Bug Fix: Added support for AsyncIterable as a declared return type for an async generator.

Bug Fix: "Tuple[()]" (the empty tuple) is now printed correctly (rather than "Tuple") in error messages.

Don't miss a new pyright release

NewReleases is sending notifications on new releases.