mypy
0c1b6a21 - Marks unique enums as `@unique` (#11181)

Commit
4 years ago
Marks unique enums as `@unique` (#11181) All enums in mypy are unique. Eventhough, current state of enum_plugin does not support @unique checking during mypy run, it is a good thing to have. It will raise ValueError: duplicate values found in <enum 'ArgKind'>: CUSTOM -> ARG_NAMED during development if this rule is violated.
Author
Parents
Loading