nimi-python
nimi-python copied to clipboard
[RFC] Is type checking for the code generator worth it
- [X] This contribution adheres to CONTRIBUTING.md.
- [ ] I've updated CHANGELOG.md if applicable.
- [X] I've added tests applicable for this pull request
What does this Pull Request accomplish?
Add type hinting and checking for a subset of the code generator.
In particular, look at metadata_add_all.py
and nimi_python_types.py
for the major changes.
Given how much needed to be torqued around to make this work, is it worth it to finish the rest of the code generator?
NOTE This does not add type checking or hinting to the public API.
~~List issues fixed by this Pull Request below, if any.~~
What testing has been done?
Add mypy
in build_test tox environment
test this please