You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think we'll ever be fully drop-in compatible, but closing the gap and implementing various optional checks that BasedPyright adds on top of pyright makes sense
Sandbox Link
No response
(Only applicable for extension issues) IDE Information
No response
Reacted by Joren Hammudoglu, scott-au, DetachHead, buster-blue and Eli
Activity
TYPE_CHECKINGscoped code #1158ty_extensions#2243unreachable-match-case#3396python-platform#3440Any#3442untyped-importbut for libraries with no known stubs package #3444untyped-importfalse positive on import fromrequestsmodule #3445__init_subclass__#3447# pyrefly: ignorecomments without an error code #3450invalid-variancefalse negative when typevar is part of a union or used in another type #3535invalid-varianceerror always appears on the first overload #353658 remaining items
KW_ONLYin dataclass #3737@dataclasson aNamedTupleshould be an error #3751TypeVarnot assigned to variable #3755TYPE_CHECKING#3756order=True#3762super()call inNamedTuples #3763reveal_typeused without importing it fromtyping#3764invalid-variancefalse negative when typevar is part of a union or used in another type #3535invalid-self-typeexample in the docs does not report the error #3785