Sergei Izmailov
Sergei Izmailov
I see `pybind11_stubgen.typing_ext` as a temporary solution for producing correct stubs. The classes/functions do not belong there. `FixedSize` / `DynamicSize` are artifacts of a lack of convention for dimension annotation...
Hi, thanks for the good question! I think the solution would be to customize (subclass) `Pybind11Extension`. After the module is built, we can set env variables to make just built...
In one of my projects, I use the following approach. First, I install the package as is, without stubs. Then I use `pybind11-stubgen` to place the stubs in the right...
The question is, who would be the consumer of the resulting stubs? The potential candidates are a programmer and a static analysis tool (IDE included). For a human being, the...
Hi! As far as I know, none of the listed tools account for `*.pyi` files in the package. `m.css` inspects binary modules, just like `pybind11-stubgen` does, so that you can...
to install patched version ```bash pip install -U git+https://github.com/Lingnik/sphinxcontrib-versioning@Lingnik-patch-1 ```
@zhanghang1989, `sphinx-versioning` checks out different commits, but does not perform install. If you have pure python project that should be enough to build documentation correctly. In my project I have...