Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

Mypy checks with enums #100

Open
havogt opened this issue Jan 11, 2021 · 0 comments
Open

Mypy checks with enums #100

havogt opened this issue Jan 11, 2021 · 0 comments

Comments

@havogt
Copy link
Contributor

havogt commented Jan 11, 2021

I create this issue to reference from gt4py comments.

@enum.unique
class MyEnum(eve.IntEnum):
    member: 0

reveal(MyEnum.member) # <- int but should be MyEnum

Run this in outside of the eve package (maybe problem also inside?).

@egparedes and I couldn't figure out what's going on, in a short debugging session, but we stopped as it should go away in the next refactoring.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant