npm pyright 1.1.14
Published 1.1.14

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

Enhancement: Added synthesized overloaded "get" methods for TypedDict classes to support proper return types for each key value.

Enhancement: Added completion support for string literals used for TypedDict index expressions.

Enhancement: Added reportSelfClsParameterName setting and defaulted it to warning. This controls whether pyright emits an error or warning when a "self" or "cls" parameter is missing or is not named consistently with PEP 8.

Bug FIx: Fixed bug where callable class members were not being bound to instance as part of member access operator. As part of this fix, removed the FunctionTypeFlags.InstanceMethod flag, which is now implicit if SStaticMethod, ClassMethod or ConstructorMethod are not set.

Bug Fix: Fixed bug in f-string parsing that resulted in incorrect error reporting when expressions within f-string contained string literals with curly braces or with nested string literals (including nested f-strings).

Don't miss a new pyright release

NewReleases is sending notifications on new releases.