npm pyright 1.1.10
Published 1.1.10

latest releases: 1.1.382, 1.1.381, 1.1.380...
4 years ago

New Feature: For functions whose input parameters are missing type annotations, Pyright can now infer the return type based on the argument types passed at the call site.

New Feature: Added new configuration option "reportDuplicateImport" that generates an error or warning when a symbol or module is imported more than once in a source file.

Enhancement: Improved type completion for import statements to filter out directory names that contain characters that are not allowed for module names (periods and hyphens).

Bug Fix: Fixed bug in tokenization of f-strings. It caused expressions within string formatting directives to go unevaluated.

Bug Fix: Fix crash caused by non-breaking space token in a module name.

Bug Fix: Fixed bug in tuple assignment logic. It wasn't properly handling the form Tuple[X, ...], which represents a tuple with arbitrary length.

Bug Fix: Fixed bug related to the type logic for dictionary expansion entries that were typed with "Dict" rather than "dict" class.

Bug Fix: Fixed bug in type completion logic that resulted in auto-imported symbols being added to import statements multiple times if they were already imported.

Bug Fix: Fixed bug in auto-import type completion logic that caused auto-imported symbol to be inserted in the wrong order if it was alphabetically first.

Bug Fix: Fixed incorrect ID in pyrightconfig schema file (a copy-and-paste bug).

Don't miss a new pyright release

NewReleases is sending notifications on new releases.