[Project Suggestion] Add type hinting to firmware code #61
Labels
documentation
Improvements or additions to documentation
firmware
Software related issue
suggestion
New feature or request
Project Suggestion
MicroPython supports static type checking (at least up to Python version 3.6). The EuroPi firmware code should add type hinting to help improve static analysis and documentation for IDEs that support it.
Describe your suggestion or idea
By adding type hinting, this will make writing scripts easier by providing the expected type of parameters of the API.
There are no negative side effects for IDEs like Thonny that don't use it.
The text was updated successfully, but these errors were encountered: