Pyright

Latest version: v1.1.390

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

Scan your dependencies

Page 74 of 81

1.0.40

New Feature: Support for f-strings
Bug Fix: Extraneous tokens in comment-style annotations were not previously reported as an error

1.0.39

New Feature: Added "strict" setting in config file. Files and directories that are specified in this array are analyzed with "strict" type checking rules.
Bug Fix 148: Removed check for private member declarations within dataclass. I originally misinterpreted the spec and added this check in error.
Bug Fix: Fixed bug in parser. Chains of binary operations were not grouping correctly. They should group left to right, not right to left.

1.0.38

New Feature: Added support for `__future__` import `annotations`, which tells the python interpreter not to evaluate annotations at runtime.
Bug Fix 145: Type analyzer was not properly handling the special-case built-in class "auto" defined in Enum.pyi.

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.

Page 74 of 81

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.