github microsoft/pyright 1.1.134
Published 1.1.134

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

Enhancement: Implemented first cut at generalized support for dataclass transforms.

Behavior Change: Allow NoReturn return type annotation for __init__ method.

Bug Fix: Fixed bug in completion provider that resulted in no valid completion suggestions at the end of a "from x import a, " statement.

Bug Fix: Fixed bug in type checker that led to a false positive when assigning a function to a callable type and the source contained unannotated parameters.

Bug Fix: Fixed numerous bugs that result in occasional type evaluation errors, some of which appear to be somewhat non-deterministic.

Bug Fix: Fixed bug in type evaluator that caused incorrect type evaluation for annotated parameter types in some cases.

Bug Fix: Fixed a bug in the type checker that resulted in a false positive error when using "|" (union) operator in parameter type annotations in some cases.

Bug Fix: Changed binder logic for "from .a import x" statements in `init.py. Implicit import of ".a" is performed only in cases where there is a single dot. For example, "from .a.b import x" does not implicitly import ".a.b".

Don't miss a new pyright release

NewReleases is sending notifications on new releases.