dwavesystems / dwavesystems/dimod

Mypy stub files for Cython files

Open
#1,221 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.