kislyuk / argcomplete

Python and tab completion, better together.
https://kislyuk.github.io/argcomplete/
Apache License 2.0
1.39k stars 129 forks source link

Support mypy type annotations aka PEP 484 #396

Closed SchoolGuy closed 1 year ago

SchoolGuy commented 1 year ago

Currently when using mypy as a static type checker you must add this project to the ignore list.

The message looks a bit like this:

Run python -m mypy <module>
<module>/cli.py:35: error: Skipping analyzing "argcomplete": module is installed, but missing library stubs or py.typed marker  [import]

More information on how to add this to a project and fix the warning can be found here.

SchoolGuy commented 1 year ago

This might be fixed by #378

tony commented 1 year ago

I can take a closer look at this over the coming weeks ☝️. Thank you for bringing it up

We also have #377

SchoolGuy commented 1 year ago

This is a duplicate of #377. Thus closing this Issue.