Skip to content

Sync typeshed #13457

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

Merged
merged 3 commits into from
Aug 20, 2022
Merged

Sync typeshed #13457

merged 3 commits into from
Aug 20, 2022

Conversation

emmatyping
Copy link
Member

Source commit:
python/typeshed@5435ed7

Needed for #13446

@github-actions

This comment has been minimized.

@hauntsaninja
Copy link
Collaborator

You'll need to cherry pick #13093 (bonus if you add it to the sync typeshed script, dectuple bonus if you fix LiteralString support)

Fixes #13091

Co-authored-by: Ivan Levkivskyi <[email protected]>
@emmatyping
Copy link
Member Author

You'll need to cherry pick #13093 (bonus if you add it to the sync typeshed script, dectuple bonus if you fix LiteralString support)

Thanks, I sadly am not sure if I have time to implement LiteralString :/

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

packaging (https://github.com/pypa/packaging)
+ packaging/tags.py:119: error: Returning Any from function declared to return "Union[int, str, None]"  [no-any-return]

@hauntsaninja hauntsaninja merged commit 4d4326a into master Aug 20, 2022
@hauntsaninja hauntsaninja deleted the ethanhs-typeshed branch August 20, 2022 19:21
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