Avasam

Results 686 comments of Avasam

Even if the `from typing` suggestion isn't removed. It would be preferable to suggest `collections.abc` at the top of the suggestions list (even just suggesting it at all), and auto-importing...

I have two items in the same group and the copy/paste transform doesn't work either. (OBS 28)

Is it possible to specify the ndarray generic parameters ? To avoid `partially Unknown` errors in strict typing? ![image](https://user-images.githubusercontent.com/1350584/162503688-e65bc420-9102-4802-b417-48ddb808192e.png) Something like this (please adapt with the actual possible values if...

@afreemanio Checkout https://github.com/microsoft/python-type-stubs/tree/main/cv2 You'll have to copy it into your own typings folder until https://github.com/microsoft/python-type-stubs/issues/211 is solved.

@afreemanio Looking at the generator here. It seems to be lacking some best practices for typing. Other than that I can't really comment on its quality or completeness without properly...

Would `TypeVarTuple` help with this now? https://peps.python.org/pep-0646/#implications Once mypy supports it of course https://github.com/python/mypy/issues/12280

@hauntsaninja The concern is more that for libraries with OS-specific support and modules, stubtest is pretty much useless in detecting missing or invalid types (because we have to exclude everything...

I just stumbled upon a new issue relating to this when working on pywin32 stubs: pytype and stubtest fail on CI with stubs that have no Linux distribution. Specifically, pytype...

@AlexWaygood I didn't feel confident posting the PR yet, I still had some work and improvements to do first (although I could post as WIP, but I'm really close to...

It is a bug in emoji. The `py.typed` marker isn't added to the package https://github.com/carpedm20/emoji/pull/239