google / python-fire

Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
Other
26.98k stars 1.44k forks source link

[Question] Even if no type hints is supplied, would `python-fire` accept stub files? #456

Closed Diogo-Rossi closed 7 months ago

Diogo-Rossi commented 1 year ago

I know there is a guide line of code style remarking it will not accept type hints.

However, would you accept type hints in stub files, rather than in source files?

dbieber commented 7 months ago

The upcoming release v0.6.0 will be the last release to support Python 2. After that, we will drop Python 2 support and type hints will be fair game.