nucleic / enaml

Declarative User Interfaces for Python
http://enaml.readthedocs.io/en/latest/
Other
1.52k stars 130 forks source link

Generate .pyi files for enaml files #508

Open MatthieuDartiailh opened 1 year ago

MatthieuDartiailh commented 1 year ago

.enaml files appear completely opaques to most tools and while we cannot do much in a generic sense we could improve the user experience inside Python files using definition found in an enaml file by providing .pyi for enaml files.

The generation could be made from the AST generated by the parser: