DetachHead / basedpyright

pyright fork with various type checking improvements, improved vscode support and pylance features built into the language server
https://docs.basedpyright.com
Other
931 stars 18 forks source link

`Enum` members should be `constant` not `variable` #262

Open DetachHead opened 5 months ago

DetachHead commented 5 months ago
from enum import Enum
class A(Enum):
    a = "1"

print(A.a)

image

KotlinIsland commented 1 month ago

there was an upstream change that invalidated the original issue