boostorg / boostorg/python

Support for generating pep484 .pyi stubs

Abierto
#277 3 comentarios 35 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
C++
Estrellas
537
Forks
223
Merge medio
11 h 22 min
PR fusionados (30 d)
2

Descripción

[Static typing in python](https://realpython.com/python-type-checking/) (aka PEP-484) is gaining a lot of traction, with linting tools like [mypy](https://mypy.readthedocs.io/en/latest/) reaching maturity, and support in IDEs -- like PyCharm, VSCode, and Sublime -- for using pyi stubs to drive code inspection and completion. Stubs are particularly impactful for c/c++ bindings which are opaque to static inspectors.

pyi stub generation is already supported by other python binding generators like pybind11, shiboken, and sip.

Has this feature been discussed at all in boost-dev circles?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.