Pylint complains about _ignore_ in enum classes #9015
Labels
False Positive 🦟
A message is emitted but nothing is wrong with the code
Needs astroid update
Needs an astroid update (probably a release too) before being mergable
Milestone
Bug description
A field called
_ignore_
in an enum class should not cause aninvalid-name
complaint. It is a special field whose name is dictated by the standard library and cannot be changed.Consider the following code:
Configuration
Command used
Pylint output
Expected behavior
The
invalid-name
error should not appear.Pylint version
OS / Environment
No response
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: