-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
ruleImplementing or modifying a lint ruleImplementing or modifying a lint rule
Description
With ruff==0.2.1 and Python 3.12:
from enum import Enum
class MyEnum(Enum):
pass
class CustomStrEnum(str, MyEnum): # Throws SLOT000
passI think this is a false positive for SLOT000 based on #5748. At the time, looks like Ruff decided not to check for this.
However, maybe nowadays it's possible, and it is a false positive SLOT000. Do you think we can fix this false positive
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ruleImplementing or modifying a lint ruleImplementing or modifying a lint rule