github microsoft/pyright 1.1.9
Published 1.1.9

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

Enhancement: Added support in completion provider for named parameter suggestions within argument lists for call expressions.

Bug Fix: Fixed bug in type var matching for contravariant type vars.

Bug Fix: Changed *args parameter to be typed as Tuple rather than List, as per the python spec.

Bug Fix: Fixed errant "unbound" error for variable that's declared in an outer execution context and referenced via a closure.

Bug Fix: Changed file system watcher logic to allocate a single chokidar watcher for all include paths rather than one each.

Bug Fix: Added default excludes of **/node_modules and **/__pycache__ because these are almost never intended to be scanned for tracked source files.

Bug Fix: Changed type var matching logic for constrained type vars. The previous logic constrained types to an exact match of the specified constraints, whereas derived types should be permitted. It was based on a misreading of PEP 484.

Don't miss a new pyright release

NewReleases is sending notifications on new releases.