ViennaTools / ViennaPS

Development repository for ViennaPS, a fully-fledged semiconductor fabrication process simulation library.
https://viennatools.github.io/ViennaPS
Other
29 stars 11 forks source link

Automatic Stub Generation #75

Open Curve opened 7 months ago

Curve commented 7 months ago

74 introduced python stub files which are currently manually generated.

We should adopt some way of automatically generating those stub files either through the pyproject.toml or through the Github-CI, and somehow include them from the pyproject.toml instead of using a shell script

Some references:

tobre1 commented 7 months ago

I have experienced some issues with mypy stubgen, where some classes are not typed correctly. Therefore I have added the current stub files which I edited manually.

Would be interesting to see if pybind11-stubgen does a better job.