Skip to content

Use pybind11-stubgen to create typestubs for extensions#87

Draft
jbcoe wants to merge 19 commits intoNetHack-LE:mainfrom
jbcoe:jbcoe/generate-typestubs
Draft

Use pybind11-stubgen to create typestubs for extensions#87
jbcoe wants to merge 19 commits intoNetHack-LE:mainfrom
jbcoe:jbcoe/generate-typestubs

Conversation

@jbcoe
Copy link

@jbcoe jbcoe commented Feb 11, 2026

Generated typestubs will allow us to give richer type information and enable a type-checker as part of our CI workflow.

I've created a custom action to generate the typestubs. A newer bindings generator link nanobind already exposes CMake rules to generate typestubs.

@jbcoe jbcoe force-pushed the jbcoe/generate-typestubs branch from 9b6791d to 4414e0f Compare February 11, 2026 10:43
@jbcoe jbcoe force-pushed the jbcoe/generate-typestubs branch 2 times, most recently from 02e76e3 to 4a2f8cd Compare February 22, 2026 01:20
@jbcoe jbcoe force-pushed the jbcoe/generate-typestubs branch from 564345c to ecde6bb Compare March 6, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant