-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.pyi files for pya module #1915
Comments
They already exist, but I think only for the python standalone module. Not sure how much work it would be to have them available in the GUI version |
The main problem is where to install them. The built in pya module does not have an installation space. It is just there, because this modules is bootstrap-loaded when KLayout initializes the interpreter. Maybe there is a way to "borrow" them for PyCharm? Matthias |
@klayoutmatthias I believe you can make a stub only package and just include it in the library folder. I believe it then should be called I'd be happy to help if there are problems or even just test it. |
Okay, that sounds easy. I will try if I can create such a module. |
Hi, Matthias!
It'll be great to have Python interface files for
pya
module (for both KLayout and Qt bindings). It'll help to enforce type validation with MyPy.Sure, it would be huge task.
The text was updated successfully, but these errors were encountered: