Pyright

Latest version: v1.1.398

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

Scan your dependencies

Page 76 of 82

1.0.37

Bug Fix: Type checker was not validating the "from" clause of a "raise" statement.
Enhancement: Improved type checker performance by about 15%.

1.0.36

Bug Fix 141: The VS Code extension no longer automatically analyzes all files under the project if there's no pyrightconfig.json file present. It still analyzes python files that are explicitly opened in the editor.
Bug Fix 140: Targets of a "raise" statement should be marked as "accessed" for the purposes of displaying unused code.
Bug Fix: Added support for iterable classes like Enum.
Bug Fix: Fixed bug that caused type checker to fail to report errors in cases where a class was being instantiated with incorrect parameters and the initializer method was overloaded.

1.0.35

New Feature: Added "Find References" functionality to VS Code extension. You can now right click on a symbol and choose "Find All References" (or press option-shift-F12) to display all uses of the symbol within the code base.
Bug Fix: Fixed type constraint logic for assert statements that provide a message string parameter.

1.0.34

New Feature: Implemented "signature help" in VS Code extension that provides detailed signature information as popup text when adding parameters to a call.
New Feature: Added doc string support for modules, classes, methods, and functions. These are now displayed when you hover over a symbol.
Enhancement: Improved formatting for hover text in VS Code extension.
New Feature: Type completion support in VS Code extension for imports and import symbols.
New Feature: Reporting of unused symbols imported using "import X from Y" statements.

1.0.33

New Feature: Added support for new config options: reportUnusedImport, reportUnusedClass, reportUnusedFunction, and reportUnusedVariable.
New Feature: Added support for Enum functional declarations.
Bug Fix 134: Fixed bug where index into an enum type was generating a false positive error.
Bug Fix: Improved responsiveness of VS Code Extension during analysis.
Bug Fix 135: Fixed bug that resulted in false positive error being generated for `__init__` calls in a base class.
Bug Fix: Fixed bug in path processing that caused VS Code Extension to report errors with corrupt file paths when the pyrightconfig.json file "include" array was empty.
Bug Fix: Fixed bug that caused symbols used as indexes not to be marked as "accessed" for purposes of highlighting unaccessed variables.
Bug Fix: Module-level variables (non-imports) and class-level variables should be marked as "not accessed" only if they're private (start with underscore).

1.0.32

Bug Fix 133: Add support for class keyword arguments
Bug Fix: Add support for __qualname__ on classes

Page 76 of 82

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.