boostorg / boostorg/python

Support for generating pep484 .pyi stubs

Đang mở
#277 3 bình luận 35 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C++
Star
537
Fork
223
Merge trung bình
11 giờ 22 phút
Pull request đã merge (30 ngày)
2

Mô tả

[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?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.