Skip to content
Snippets Groups Projects
Unverified Commit 8ac0dc72 authored by Thorsten Hater's avatar Thorsten Hater Committed by GitHub
Browse files

Auto-generate type stubs (#2384)

So far, we have manually generated stubs by installing
`pybind11-stubgen`, using it, and finally copying over the result
into `python/stubs`. This is tedious and tends to get forgotten, thus
stubs are outdated, and clashes with `black`
constantly.

Thus, we
- remove the static stub directory
- generate stubs directly during build time
- enable users to opt out

PS: There are some fixes to warnings thrown during the stub
construction, too.
parent b1463f16
No related branches found
No related tags found
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment