We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SLOT000
With ruff==0.2.1 and Python 3.12:
ruff==0.2.1
from enum import Enum class MyEnum(Enum): pass class CustomStrEnum(str, MyEnum): # Throws SLOT000 pass
I 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
The text was updated successfully, but these errors were encountered:
We can fix this for references in the same file.
Sorry, something went wrong.
flake8-slots
Enum
[flake8-slots] Respect same-file Enum subclasses (#11006)
e8b1125
Closes #9890.
charliermarsh
Successfully merging a pull request may close this issue.
With
ruff==0.2.1
and Python 3.12:I 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 positiveThe text was updated successfully, but these errors were encountered: