0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-21 11:54:02 +01:00
Commit graph

22 commits

Author SHA1 Message Date
Richard van der Hoff
8075504a60
Enable mypy for synapse.util.caches ()
This seemed to entail dragging in a type stub for SortedList.
2020-10-15 11:44:39 +01:00
Patrick Cloke
1781bbe319
Add type hints to response cache. () 2020-10-09 11:35:11 -04:00
Patrick Cloke
a93f3121f8
Add type hints to some handlers () 2020-10-09 07:20:51 -04:00
Patrick Cloke
b460a088c6
Add typing information to the device handler. () 2020-10-07 08:58:21 -04:00
Erik Johnston
6c5d5e507e
Add unit test for event persister sharding () 2020-10-02 09:57:12 +01:00
Patrick Cloke
4ff0201e62
Enable mypy checking for unreachable code and fix instances. () 2020-10-01 08:09:18 -04:00
Erik Johnston
fe8ed1b46f
Make StreamToken.room_key be a RoomStreamToken instance. () 2020-09-11 12:22:55 +01:00
Patrick Cloke
e45b834119
Add types to async_helpers () 2020-09-08 16:50:51 -04:00
Erik Johnston
be16ee59a8
Add type hints to more handlers () 2020-09-03 22:02:29 +01:00
Erik Johnston
208e1d3eb3
Fix typing for @cached wrapped functions ()
This requires adding a mypy plugin to fiddle with the type signatures a bit.
2020-09-03 15:38:32 +01:00
Erik Johnston
112266eafd
Add StreamStore to mypy () 2020-09-02 17:52:38 +01:00
Patrick Cloke
5bf8e5f55b
Convert the well known resolver to async () 2020-09-01 09:15:22 -04:00
Patrick Cloke
98125bba7a
Allow running mypy directly. () 2020-08-26 09:59:37 -04:00
Erik Johnston
5dd73d029e
Add type hints to handlers.message and events.builder () 2020-08-12 15:05:50 +01:00
Erik Johnston
e07a8caf58
Add support for using rust-python-jaeger-reporter () 2020-06-17 14:13:41 +01:00
Quentin Gliech
616af44137
Implement OpenID Connect-based login () 2020-05-08 08:30:40 -04:00
Erik Johnston
b0a66ab83c
Fixup synapse.rest to pass mypy () 2020-01-20 17:38:21 +00:00
Erik Johnston
0f6e525be3
Fixup synapse.api to pass mypy () 2020-01-20 17:34:13 +00:00
Erik Johnston
28b758fa0f Silence mypy errors for files outside those specified 2019-12-10 13:34:56 +00:00
Amber Brown
020add5099
Update black to 19.10b0 ()
* update version of black and also fix the mypy config being overridden
2019-11-01 02:43:24 +11:00
Amber Brown
f743108a94
Refactor HomeserverConfig so it can be typechecked () 2019-10-10 09:39:35 +01:00
Amber Brown
b617864cd9
Fix for structured logging tests stomping on logs () 2019-09-13 02:29:55 +10:00