Pyright

Latest version: v1.1.390

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

Scan your dependencies

Page 72 of 81

1.0.52

New Feature: Added "strictParameterNoneValue" rule.
New Feature: Improved type checking for raise and raise/from statements.
Bug Fix: Fixed handling of super() call. It now properly handles zero, one and two-arg versions. Also handles case where target class derives from multiple base classes.

1.0.51

New Feature: Wildcard characters are now supported for include, exclude, ignore and strict path arrays in the config file. Supported wildcards include ** (matches against one or more directories), * (matches against zero or more characters), and ? (matches against a single character).
New Feature: Added config rule "reportCallInDefaultInitializer" that emits an error or warning when a function call is used within a parameter's default value initialization expression.

1.0.50

New Feature: Implemented type checking for augmented assignment statements.
New Feature: Implemented minimal support for InitVar class used in dataclass declarations.

1.0.49

Bug Fix: Added support in type checker for assignment expressions that target tuples that end in an unpack expression. The previous version simply crashed in this case, resulting in an "internal error" message.
Bug Fix: Fixed handling of multi-root workspaces in VS Code extension. The previous version assumed that workspace roots were always peer folders. It now handles nesting.

1.0.48

Enhancement: Implemented more thorough type checking for assignments — especially assignments to member variables.
Bug Fix: Eliminated some redundant and inconsistent error messages relating to assignments. Added missing information to some error messages.
Bug Fix: Fixed issue that caused duplicate errors to appear for some conditions related to list comprehensions.

1.0.47

New Feature: Added knowledge of built-in type ModuleType.
New Feature: Added support for per-folder settings in a multi-root workspace.

Page 72 of 81

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.