non-unique-enums (PIE796)
Derived from the flake8-pie linter.
What it does
Checks for enums that contain duplicate values.
Why is this bad?
Enum values should be unique. Non-unique values are redundant and likely a mistake.
Example
Use instead: