matejcik @matejcik@octodon.social
Follow

mypy. oh, mypy.
Type hinting for function arguments and return types is awesome.
Type hinting for member variables - not so much. There should be inference, but the inference is weak. Basically doesn't even try for straightforward cases, with the excuse that it wouldn't work for more complex cases? So I need to annotate all my members and get caught up when mixins enter the mix?
ughhhh

· Web · 0 · 0