1.1.276
版本发布时间: 2022-10-19 11:35:36
microsoft/pyright最新发布版本:1.1.387(2024-10-30 09:17:48)
Enhancement: Updated typeshed stubs to the latest version. This includes the removal of stubs for freezegun.
Enhancement: Added support for draft PEP 698 and the @override
decorator.
Enhancement: Enhanced reportSelfClsParameterName
so it applies to overload signatures. In the general case, this check is not applied to functions with decorators because decorators can change the semantics of parameters for the decorated function. But @overload
is a special case, and its semantics are well known.
Enhancement: Extended the defineConstant
mechanism to work with conditional statements that contain member access expressions that reference a defined member name.