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 type hints to sygnal/http.py #273

Merged
merged 5 commits into from
Nov 16, 2021
Merged

Add type hints to sygnal/http.py #273

merged 5 commits into from
Nov 16, 2021

Conversation

H-Shay
Copy link
Contributor

@H-Shay H-Shay commented Nov 16, 2021

As the title states. Also want to acknowledge that I used DMRobertson's type stub work in Sydent in this PR, specifically stubs/twisted/web/http.pyi.

@H-Shay H-Shay requested a review from a team as a code owner November 16, 2021 16:10
Copy link
Contributor

@squahtx squahtx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

I wonder if there's a way to share stubs between repos?

@H-Shay H-Shay merged commit d5b1c8f into main Nov 16, 2021
@H-Shay H-Shay deleted the type_hints3 branch November 16, 2021 16:45
@DMRobertson
Copy link
Contributor

I wonder if there's a way to share stubs between repos?

Git submodules would be my suggestion, assuming we don't want to publish a stubs package to pypi

@reivilibre
Copy link
Contributor

the answer there might be to upstream the type annotations and get rid of the stubs altogether 😅

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.

4 participants