pythonstubs
pythonstubs copied to clipboard
Type hinting classes outside standard library
Thanks for sharing this fantastic project. I am just starting to work on calling .NET dlls from Python and hoping that PyStubbler will make things substantially easier. I am just trying to wrap my head around the type hinting part of the stubs. I see that the class names are given everywhere, but they are not namespaced, so PyCharm / mypy can't resolve the actual types. Auto-completion works, mostly, but not the type hinting. Am I doing something wrong or is this just how it works? If so, is there any plan to further develop this aspect of the project? If not, maybe it would be better to type them as typing.Any so that we can at least run mypy etc. and just have it not type check those classes?