mypy
mypy copied to clipboard
stubgen: preserve enum value initialisers
See https://github.com/python/typing-council/issues/11
Just as an FYI, with this change we may be more likely to run in to https://github.com/python/mypy/issues/16007 where, with fully defined flag enums, in stubs mypy issues spurious errors.