Skip to content

Published 1.1.158

Compare
Choose a tag to compare
@erictraut erictraut released this 25 Jul 02:49
· 3810 commits to main since this release

Bug Fix: Fixed handling of generic type aliases with missing type arguments used in type annotations when the type alias itself is a member access expression.

Enhancement: Added new diagnostic check (controlled by the existing "reportUnsupportedDunderAll" config switch) that reports an issue with a name specified in __all__ if that symbol does not exist at the module level.

Enhancement: Updated typeshed stubs to latest version.

Enhancement: Added support for nested callables that use a ParamSpec at each level.

Bug Fix: Fixed false positive error related to the use of the Final keyword when annotating attributes within a dataclass.

Bug Fix: Fixed bug in TypeVar matching logic that allowed Type[T] to be matched against an instance of a type.

Behavior Change: Changed type checking logic for functions to allow a function with a return result of NoReturn to match against any other return type.

Bug Fix: Fixed false positive error in parser dealing with f-strings with string literals within the f-string expression that, in turn, have quotes within the string literal.

Enhancement: Added support for "attribute docstrings" (defined in PEP 258) in completion provider.

Bug Fix: Fixed bug in type analyzer related to a TypeVar with a bound type that is a union.