Checker.is_final_enum_value
duplicates TypoInfo.enum_members
logic
#18565
Labels
Checker.is_final_enum_value
duplicates TypoInfo.enum_members
logic
#18565
After merging #18559 I think it would make sense to change how we check for
@final
enums here:mypy/mypy/checker.py
Lines 2705 to 2727 in d4e7a81
There's no need to duplicate the
.enum_member
logic here once again. I will refactor this piece.The text was updated successfully, but these errors were encountered: