npm pyright 1.1.105
Published 1.1.105

latest releases: 1.1.370, 1.1.369, 1.1.368...
3 years ago

Enhancement: Added missing check for ** used in argument expressions. The expression after the ** must be a mapping with str keys.

Enhancement: Added missing check for a name-only parameter appearing in a signature after a "*args: P.args" ParamSpec parameter.

Enhancement: Improved error message for non-keyword parameter that follows a "*" parameter.

Enhancement: Added missing check for positional argument count when a simple positional argument appears after a *args argument.

Enhancement: Added missing checks for illegal usage of positional parameters when calling a function defined with ParamSpec and Concatenate.

Enhancement: Added missing check for use of keyword arguments in a call to an inner function that uses P.args and P.kwargs defined by a ParamSpec.

Bug Fix: Fixed false positive warning relating to single use of a type variable within a signature when that type variable is a ParamSpec, and it is also referenced in "P.args" or "P.kwargs" annotations.

Enhancement: Added missing PEP 612 support for functions that take a parameter with a callable type that includes a ParamSpec as well as *args: P.args and **kwargs: P.kwargs parameters.

Bug Fix: Fixed false positive error related to use of "ClassVar" when it is used in a member access expression like "typing.ClassVar".

Enhancement: Improved performance for deeply nested expressions that involve calls to overloaded functions.

Bug Fix: Fixed crash when "()" is used as a type argument for a class that doesn't accept variadic type parameters.

Don't miss a new pyright release

NewReleases is sending notifications on new releases.