Pyright

Latest version: v1.1.390

Safety actively analyzes 685838 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 80 of 81

1.0.4

Added better support for generic type subclass analysis, including support for covariance and contra variance.
Fixed bug that caused type analysis not to converge sometimes, resulting in an infinite loop.
Fixed crashing bug that could occur if typeshed files were not found.
In VS Code extension, filled in "source" string so "pyright" appears in the problems panel.
Added support for a few configuration settings in VS Code that are common to the standard VS Code Python extension.
Added new config setting "reportMissingTypeStubs" to differentiate from "reportMissingImports".
Fixed bug in "isinstance" type constraint handling. Its logic was reversed when checking for subtypes.
Disabled reporting of errors to return type mismatches in generator functions. This will be enabled again once generator and coroutine support is added to the analyzer.
Added an error output when configuration specifies a python version older than 3.0.
Fixed reported type analysis bug that affected built-in types that had aliases defined in the collections.pyi type stub (notably, Deque, DefaultDict and ChainMap).

1.0.0

Initial release of Pyright VS Code plugin.

0.0.13

What's Changed

* fix position of `--` arg (11)

Massive thank you to bustbr!

0.0.12

Changes

- Fix npx and pyright argument separator (9)

0.0.11

Changes

- Add support for the pyright LSP under the `pyright-langserver` command
- Renamed `nodeenv` directory from `pyright-prisma` to `pyright-python`

0.0.10

Changes

Remove verbose output by default

Make use of the `--silent` flag to remove verbose npm output, e.g.


npm ERR! code 4
npm ERR! path /pyright-python
npm ERR! command failed
npm ERR! command sh -c pyright --foo

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/robert/.npm/_logs/2021-09-26T11_00_20_456Z-debug.log


This output can be re-enabled by setting `PYRIGHT_PYTHON_VERBOSE` to a truthy value.

Bug Fixes

- Fix bug with npx passing the argument separator `--` to pyright

Page 80 of 81

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.