Support Enum with self defined members #5138
Labels
Enhancement ✨
Improvement to a component
False Positive 🦟
A message is emitted but nothing is wrong with the code
Milestone
Current problem
False positive E1101 are reported for self defined member in Enums.
Example:
Layout
w/ self defined memberscol
&row
pylint --version
pylint 2.11.1
astroid 2.8.2
Python 3.9.7 | packaged by conda-forge | (default, Sep 29 2021, 19:15:42) [MSC v.1916 64 bit (AMD64)]
Desired solution
According to Python doc, self defined members in Enums are allowed. Therefore no issues should be reported for the example above.
Additional context
No response
The text was updated successfully, but these errors were encountered: