Open arcondello opened 2 years ago
It would be good to add 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.
dimod.cyvariables
dimod.cyutilities
Variables
Should be as simple as adding a dimod/cyvariables.pyi file etc.
dimod/cyvariables.pyi
As a downside, it does not seem like those type annotations are picked up by sphinx (see https://github.com/sphinx-doc/sphinx/issues/7630).
It would be good to add stub files for some of the most commonly used cython packages because cython current does not support type annotations.
Especially
dimod.cyvariables
anddimod.cyutilities
would benefit because theVariables
object is used in many places.Should be as simple as adding a
dimod/cyvariables.pyi
file etc.