Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type annotations #331

Open
dsynkd opened this issue Mar 7, 2022 · 1 comment
Open

Type annotations #331

dsynkd opened this issue Mar 7, 2022 · 1 comment

Comments

@dsynkd
Copy link

dsynkd commented Mar 7, 2022

Python has added support for type hints since PEP 483, and I want to implement this into the source code. Type systems are of course a highly debated topic among programmers, I believe type annotations would help with readability and type checking would help with finding errors. Let me know if this is something that the community would be receptive towards.

@djmattyg007
Copy link
Contributor

We're already using mypy in the main Mopidy codebase:

https://github.com/mopidy/mopidy/blob/develop/tox.ini#L31

I think rolling this out to Mopidy extensions (especially popular ones such as this) would be greatly appreciated 👍

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

No branches or pull requests

2 participants