diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-12-11 11:43:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-11 11:43:53 -0500 |
commit | 5d34f40d494305bb32b3d57c18fb17d98d21a31f (patch) | |
tree | 9e1384355c811a8c9a81e28e1dc1f587012507b4 /scripts-dev | |
parent | Honour AS ratelimit settings for /login requests (#8920) (diff) | |
download | synapse-5d34f40d494305bb32b3d57c18fb17d98d21a31f.tar.xz |
Add type hints to the push module. (#8901)
Diffstat (limited to 'scripts-dev')
-rw-r--r-- | scripts-dev/mypy_synapse_plugin.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts-dev/mypy_synapse_plugin.py b/scripts-dev/mypy_synapse_plugin.py index 5882f3a0b0..f7f18805e4 100644 --- a/scripts-dev/mypy_synapse_plugin.py +++ b/scripts-dev/mypy_synapse_plugin.py @@ -31,6 +31,8 @@ class SynapsePlugin(Plugin): ) -> Optional[Callable[[MethodSigContext], CallableType]]: if fullname.startswith( "synapse.util.caches.descriptors._CachedFunction.__call__" + ) or fullname.startswith( + "synapse.util.caches.descriptors._LruCachedFunction.__call__" ): return cached_function_method_signature return None |