Pyright

Latest version: v1.1.390

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

Scan your dependencies

Page 75 of 81

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

1.0.31

New Feature: Added more flexible file-level overrides for config settings. You can now specify individual config settings in a pyright comment. See documentation for more details.

1.0.30

Bug Fix 132: Fixed code flow logic used for try/except/else statements so it properly handles returns from all paths.
Bug Fix: Fixed bug in type analyzer's handling of variables declared within methods that are cleared within an enum class.
Enhancement: Improved error reporting for arg type mismatches. Parameter name is now included in the error message.

1.0.29

New Feature: Added logic to avoid unnecessary reanalysis of files when a file is deleted, added or renamed (e.g. when using git to switch between branches).
Bug Fix: Fixed bug in binary operator type checking that caused false positive errors.
Bug Fix: Fixed several bugs in path processing for include directories.

Page 75 of 81

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.