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

Inline the type annotations (if possible) #215

Open
jaraco opened this issue Jul 7, 2023 · 1 comment
Open

Inline the type annotations (if possible) #215

jaraco opened this issue Jul 7, 2023 · 1 comment

Comments

@jaraco
Copy link
Owner

jaraco commented Jul 7, 2023

This project has type annotations defined in .pyi files. Many of these annotations would be useful as inline.

However, due to the "wrapper" nature of this project and the fact that it deals with IO, the type annotations are very complicated, using overloads and providing types for functions that are just aliases.

In feature/inline-types, I started exploring what it would take to migrate the types. I was hoping to use something like retype, but that project is actively abandoned and has unfixed bugs for things like overloads.

If someone with some expertise would like to work on migrating the types, I'd appreciate the help.

@jaraco
Copy link
Owner Author

jaraco commented Apr 4, 2024

I got the commit wrong :(

@jaraco jaraco reopened this Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant