Skip to content

Update type stubs #13

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

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

Update type stubs #13

wants to merge 1 commit into from

Conversation

cdoolin
Copy link

@cdoolin cdoolin commented Jan 21, 2025

Thanks so much for this module.

I noticed the type stubs were out of date, in particular the FillType -> FillRule change was giving me problems. I generated new ones using Claude, and thought others might find it useful as well.

Thanks!

@drlukeparry
Copy link
Owner

Glad the library was useful and thank you for your contribution. I will consider updating these in the next minor release using pybind11-stubgen tool, which require correction as you said on FillRule.

pyclipr 0.2.0 is migrating to use nanobind generator which includes an improved automatic stub generator that is built-in. I want to avoid using manual generation in future.

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.

2 participants