github microsoft/pyright 1.0.44
Published 1.0.44

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

New Feature: Type analyzer now infers a function return type of "NoReturn" if function doesn't return any value and always raises an exception. Methods marked @AbstractMethod are exempt. An explicit return type annotation always overrides this inference.
Bug Fix: Fixed logic for try/except/else/finally statements to properly handle code flow analysis. The previous implementation was incorrectly identifying unreachable code.
Bug Fix: Type analyzer wasn't correctly inferring type of set when a set comprehension was used.

Don't miss a new pyright release

NewReleases is sending notifications on new releases.