False positive invalid-overridden-method
when overridding Enum.value
#9905
Labels
Needs triage 📥
Just created, needs acknowledgment, triage, and proper labelling
Bug description
Configuration
No response
Command used
Pylint output
Expected behavior
I tried to lint some legacy code and thought this might be a false positive.
I would expect no warning, or how could I otherwise override
value
from the Enum class? (not saying this is a good idea in general)Maybe this is related to decorators: #8939 and the CPython implementation also has a decorator which is similar to a property:
https://github.com/python/cpython/blob/3.10/Lib/enum.py#L802
Pylint version
OS / Environment
No response
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: