gnebbia / kb

A minimalist command line knowledge base manager
GNU General Public License v3.0
3.17k stars 104 forks source link

Add type annotations for parse_args. #39

Closed asadmoosvi closed 4 years ago

asadmoosvi commented 4 years ago

The parse_args function doesn't return a parser object but rather an argparse namespace object. So I've just clarified that in the docstring and also added the type annotations for it.

gnebbia commented 4 years ago

Thanks! You are right! Thanks for the fix!