Closed eltoder closed 1 year ago
Thanks for the report! I agree that these names should be whitelisted. Do you want to add an enum_whitelist.py
file here and make a pull request?
@jendrikseipp Here you go. I didn't find any tests for whitelists, so no tests.
Here vulture says that attributes
_name_
and_value_
are unused:These are special attributes used to set enum members' name and value respectively. They should be whitelisted.