- Dec 13, 2021
- Dec 03, 2021
-
-
Dirk Klimpel authored
-
- Dec 02, 2021
-
-
reivilibre authored
-
Patrick Cloke authored
This skips a few methods which are difficult to type.
-
reivilibre authored
-
- Nov 29, 2021
-
-
David Robertson authored
-
David Robertson authored
This would have caught the bug #11438 introduced in #11217 and fixed in #11439.
-
- Nov 26, 2021
-
-
Sean Quah authored
Also refactor the stream ID trackers/generators a bit and try to document them better.
-
- Nov 23, 2021
-
-
Patrick Cloke authored
-
- Nov 17, 2021
-
-
Sean Quah authored
-
- Nov 16, 2021
-
-
Patrick Cloke authored
-
- Nov 15, 2021
-
-
David Robertson authored
It already seems to pass mypy. I wonder what changed, given that it was on the exclusion list. So this commit consists of me ensuring `--disallow-untyped-defs` passes and a minor fixup to a function that returned either `True` or `None`.
-
David Robertson authored
-
- Nov 12, 2021
-
-
David Robertson authored
I was sad that I couldn't do better for `_curr_state_delta_stream_cache`. At least it's explicitly called out in a comment with #TODO.
-
Patrick Cloke authored
This was only checking the __init__ files in modules instead of all files in a module, which don't pass yet.
-
David Robertson authored
* Prefer `HTTPStatus` over plain `int` This is an Opinion that no-one has seemed to object to yet. * `--disallow-untyped-defs` for `tests.rest.client.test_directory` * Improve synapse's annotations for deleting aliases * Test case for deleting a room alias * Changelog
-
Patrick Cloke authored
-
David Robertson authored
* Make DataStore inherit from EventForwardExtremitiesStore before CacheInvalidationWorkerStore the former implicitly inherits from the latter, so they should be ordered like this when used.
-
Patrick Cloke authored
-
- Nov 11, 2021
-
-
David Robertson authored
I'm not sure why this was excluded---it seemed to be passing for me. But it's easy enough to fixup.
-
David Robertson authored
-
David Robertson authored
Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com>
-
Patrick Cloke authored
-
- Nov 10, 2021
-
-
Patrick Cloke authored
-
Patrick Cloke authored
-
- Nov 09, 2021
-
-
Patrick Cloke authored
This was due to a conflict between #11282, which changed mypy configuration, and #11228, a normal change.
-
Dan Callahan authored
Signed-off-by:
Dan Callahan <danc@element.io>
-
- Nov 02, 2021
-
-
Patrick Cloke authored
-
- Oct 28, 2021
-
-
Patrick Cloke authored
-
David Robertson authored
* Teach MyPy that the sentinel context is False This means that if `ctx: LoggingContextOrSentinel` then `bool(ctx)` narrows us to `ctx:LoggingContext`, which is a really neat find! * Annotate RequestMetrics - Raise errors for sentry if we use the sentinel context - Ensure we don't raise an error and carry on, but not recording stats - Include stack trace in the error case to lower Sean's blood pressure * Make mypy pass for synapse.http.request_metrics * Make synapse.http.connectproxyclient pass mypy Co-authored-by:
reivilibre <oliverw@matrix.org>
-
- Oct 21, 2021
-
-
Patrick Cloke authored
And require type hints for this module.
-
- Oct 18, 2021
-
-
Patrick Cloke authored
* Convert UserPresenceState to attrs. * Remove args/kwargs from error classes and explicitly pass msg/errorcode.
-
- Oct 14, 2021
-
-
Patrick Cloke authored
-
- Oct 13, 2021
-
-
Patrick Cloke authored
Except `synapse/events/__init__.py`, which will be done in a follow-up.
-
Patrick Cloke authored
-
- Oct 12, 2021
- Oct 11, 2021
-
-
David Robertson authored
-
- Oct 08, 2021
-
-
David Robertson authored
Also mark `synapse.streams` as having has no untyped defs Co-authored-by:
Sean Quah <8349537+squahtx@users.noreply.github.com>
-