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

Add mypy Typehints to pyperclip.copy #210

Open
isidore opened this issue Sep 5, 2021 · 4 comments · May be fixed by #255
Open

Add mypy Typehints to pyperclip.copy #210

isidore opened this issue Sep 5, 2021 · 4 comments · May be fixed by #255

Comments

@isidore
Copy link

isidore commented Sep 5, 2021

Mypy complains about the lack of typehints in the 3rd party library (which is amazing, thank you).
I believe the only method exposed is pyperclip.copy(input: str) -> None
It would be great if this could be added.

@rafo
Copy link

rafo commented Jan 13, 2023

As in https://inventwithpython.com/beyond/chapter11.html from the author of pyperclip

@Darkavid
Copy link

after 3 years, this is still opened, still missing, still needed, the static analyzers are still complaining but the "consider donating to its creator on Patreon" (for not maintaining the lib) is still in README.

@asweigart, any comments on how to resolve this contradiction? 😄

@jpgoldberg
Copy link

I have pull request that would resolve this: #255

I hadn't seen this issue at the time I created the PR.

@jpgoldberg jpgoldberg linked a pull request May 16, 2024 that will close this issue
@liriarte
Copy link

liriarte commented Aug 2, 2024

Can anyone merge that PR, please? :)

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 a pull request may close this issue.

5 participants