basedmypy
basedmypy copied to clipboard
conditional moments don't become unions
a = [1] if bool() else [""] # fail
b = [1] or [""]# fail
this should be list[int] | list[str] but, it's epic fail instead