Skip to content

Commit a11786b

Browse files
authored
Add type stub (#155)
1 parent eaa5226 commit a11786b

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/scikit_build_example/__init__.pyi

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
"""
2+
Pybind11 example plugin
3+
-----------------------
4+
5+
.. currentmodule:: scikit_build_example
6+
7+
.. autosummary::
8+
:toctree: _generate
9+
10+
add
11+
subtract
12+
"""
13+
14+
def add(i: int, j: int) -> int:
15+
"""
16+
Add two numbers
17+
18+
Some other explanation about the add function.
19+
"""

0 commit comments

Comments
 (0)