Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

Add type hints #17

Open
leftshift opened this issue Dec 5, 2019 · 1 comment
Open

Add type hints #17

leftshift opened this issue Dec 5, 2019 · 1 comment

Comments

@leftshift
Copy link
Owner

I've recently jumped on the train of sprinkling type hints into python projects as this can help find problems and understand code.

As we're mostly returning plain responses from an api we don't have control over, type hints for those responses would probably be of limited use and potentially hard to maintain.

Still, adding hints for function arguments may be a good idea.

@pylipp
Copy link
Contributor

pylipp commented Feb 29, 2020

I'd find it particularly interesting to create a CLI based on type hinting in the library, e.g. by using typer. This could be installed as extra option.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants