Should SomeStrEnum(str, Enum) require SLOT000?
#5747
Replies: 1 comment
-
|
Looks like a bug, I converted to an issue #5748/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Please see the below file with Python 3.10.10:
Running
ruff==0.0.278on this:Running
flake8-slots==0.1.5withflake8==4.0.1on this, there's no error:> flake8 a.pyFwiw, Python 3.11's built-in
enum.StrEnumdoesn't seem to define__slots__.I am not sure if there should or should not be
SLOT000for this. Looks like @qdegraaf addedSLOTrule inruff==0.0.273, so notifying him.I am thinking either:
SLOT000StrEnumdefine__slots__?Beta Was this translation helpful? Give feedback.
All reactions