github microsoft/pyright 1.1.246
Published 1.1.246

latest releases: 1.1.381, 1.1.380, 1.1.379...
2 years ago

Bug Fix: Fixed a bug in the reportUninitializedInstanceVariable check that results in a false positive error with TypedDict classes.

Bug Fix: Fixed a bug in the logic for synthesizing __init__ methods within a dataclass when a __slots__ definition is present. It was using the order of the slots entries rather than the order of the field declarations.

Enhancement: Added new verbose output for CLI when combined with '--stats' that outputs the total analysis time of each source file. This will help us narrow down performance problems.

Enhancement: Added check for an attempt to overwrite a method that is marked @final.

Bug Fix: Fixed a bug that resulted in a false positive reportUnknownVariableType diagnostic when using from .A import B statement. The symbol A was flagged as an "unknown" type even though it is not a symbol within the module's symbol table (unless the file is an __init__.py[i]).

Enhancement: Updated typeshed stubs to the latest.

Don't miss a new pyright release

NewReleases is sending notifications on new releases.