Skip to content

Published 1.1.154

Compare
Choose a tag to compare
@erictraut erictraut released this 01 Jul 01:23
· 3880 commits to main since this release

Removed support for undocumented "mspythonconfig.json" config file name. This was previously available as an alternative to "pyrightconfig.json", but we've decided to standardize on the latter.

Bug Fix: Changed logic for "overload missing implementation" check to not require an implementation within a protocol class.

Enhancement: Updated typeshed stubs to latest version.

Bug Fix: Fixed confusing error message when file or directory is specified on command line but is excluded by the "exclude" section of the config file.

Behavior Change: Exempt classes from __slots__ check if they explicitly declare an empty slots. This is commonly used for mix-in classes that are compatible with slotted classes.

Internal Change: This version of pyright includes a significant change within the type evaluator that simplifies the code and eliminates a major source of bugs related to the handling of Type[X] type annotations.