pyelftools icon indicating copy to clipboard operation
pyelftools copied to clipboard

mypy support

Open remexre opened this issue 3 years ago • 4 comments

stubgen-generated stubs seem not to work out-of-the-box, so this'll probably take a bit of manual work

remexre avatar Sep 14 '21 20:09 remexre

Can you elaborate on "stubgen-generated stubs"?

WillDenissen avatar Sep 15 '22 14:09 WillDenissen

https://mypy.readthedocs.io/en/latest/stubgen.html can generate the needed stub files, sometimes.

remexre avatar Sep 15 '22 14:09 remexre

I support solving this issue so I won't have to skip type hinting on my project.

tomersa avatar Oct 02 '22 13:10 tomersa

@remexre it would help if you could describe what the issue with the stubgen types is. Do you think we'll need to make the stubs from scratch or just tweak the generated ones to get them working?

gsingh93 avatar Oct 07 '22 21:10 gsingh93