kislyuk / argcomplete

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

mypy: Strict annotations / typings #401

Closed tony closed 1 year ago

tony commented 1 year ago

Instructions

pip install -e '.[test,lint]'

Run mypy:

mypy

If using entr(1) for file-watching:

ls argcomplete/**/*.py | entr -r 'mypy'

Meta

Simple typings: #378 Earlier PR (recut from): #397 Fixes #377

tony commented 1 year ago

@kislyuk Sorry, this wasn't done yet! mypy will fail with strict = true

kislyuk commented 1 year ago

OK, no worries. I'm going to leave it in since mypy is not currently blocking CI. For future WIP PRs, please feel free to use the draft status.

tony commented 1 year ago

@kislyuk You got it! I will follow up and link back to this issue