dwavesystems / dwavesystems/dimod
Mypy stub files for Cython files
Open
enhancement
- Dominant language
- Python
- Stars
- 143
- Forks
- 91
- Avg merge
- 1h 24m
- Merged PRs (30d)
- 3
Description
It would be good to add [stub files](https://mypy.readthedocs.io/en/stable/stubs.html#stub-files) for some of the most commonly used cython packages because cython current does not support type annotations.
Especially `dimod.cyvariables` and `dimod.cyutilities` would benefit because the `Variables` object is used in many places.
Should be as simple as adding a `dimod/cyvariables.pyi` file etc.
Contributor guide
Assessment
This issue has not been assessed yet.