github microsoft/pyright 1.1.44
Published 1.1.44

latest releases: 1.1.360, 1.1.359, 1.1.358...
3 years ago

New Feature: Added call hierarchy provider, which allows the client to display all callers of a function or all calls made by a function.

Bug Fix: Fixed bug in code that scans for source files within the project that caused an infinite loop if it encountered a symbolic link that created a cycle.

Bug Fix: Changed logic that computes union types to strip out NoReturn types if they are combined with other types. A "NoReturn" should always appear by itself, never in a union.

Enhancement: Improved error messages for argument type mismatches.

Bug Fix: Fixed bug that caused code to be marked as "unreachable" if a lambda declaration involves a call to a NoReturn function.

Bug Fix: Added missing support for __rmatmul__ (reverse matrix multiply) operator overload method.

Bug Fix: Fixed bug in the handling of code actions that appear in the first line.

Enhancement: Make logging level to Output configurable.

Enhancement: Improved auto-import feature so it now handles auto-imports of all installed packages instead of only those that have been referenced previously within the project.

Bug Fix: Fixed docstring fetching in relative import cases, -stub packages.

Bug Fix: Fixed bug that caused an internal error when typing certain decorators at the module scope.

Enhancement: Added support for unpacking of tuples with specified element types within argument lists. The type checker now properly expands these tuples and matches individual element types against corresponding parameters in the callee.

Enhancement: Improved error messages for TypeVar mismatches (e.g. invariance).

Enhancement: Extended bidirectional type inference to function call expressions where the callee has a declared return type that is generic.

Don't miss a new pyright release

NewReleases is sending notifications on new releases.