Skip to content
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

Implement type stubs for ecodes #216

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Lillecarl
Copy link

Helps your $EDITOR find the constants from ecodes.c, making for a more pleasant developer experience.

I've got a "grand plan" to extend evdevremapkeys to support importing your own Python modules, and when building those modules it would be very nice to get autocomplete and type checking for ecodes.KEY_A and such.

I'm relatively new to Python and haven't messed with setuptools before at all, I've hacked together the install class to copy the pyi file with the wheel but I'm eager to know of a better way (MANIFEST.in doesn't seem to work because the file doesn't exist when setuptools starts).

Helps your $EDITOR find the constants from ecodes.c, making for a more
pleasant developer experience.
@sezanzeb
Copy link
Collaborator

Hey, sorry I haven't spent time on this yet. I hope I'll manage to look into this soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants