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

mypy --strict for sydent.http.matrixfederationagent #444

Merged
merged 21 commits into from
Oct 28, 2021

Conversation

DMRobertson
Copy link
Contributor

This completes the files in sydent.http; need to tackle sydent.http.servelets next.

@DMRobertson DMRobertson requested a review from a team as a code owner October 28, 2021 12:09
Copy link
Contributor

@reivilibre reivilibre left a comment

Choose a reason for hiding this comment

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

thank you!

sydent/http/matrixfederationagent.py Outdated Show resolved Hide resolved
Comment on lines +15 to +17
# Reactor should be a "provider of L{IReactorTCP}, L{IReactorTime} and
# either L{IReactorPluggableNameResolver} or L{IReactorPluggableResolver}."
# I don't know how to encode that in the type system.
Copy link
Contributor

Choose a reason for hiding this comment

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

sounds 'impossible' as you'd probably want to be able to specify multiple bounds which I can't see how to do

stubs/twisted/web/client.pyi Outdated Show resolved Hide resolved
@DMRobertson DMRobertson merged commit e4b4dbb into main Oct 28, 2021
@DMRobertson DMRobertson deleted the dmr/mypy/matrixfederationserver branch October 28, 2021 16:02
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