summary refs log tree commit diff
path: root/synapse/config
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2020-08-06 17:57:58 +0100
committerBrendan Abolivier <babolivier@matrix.org>2020-08-06 17:57:58 +0100
commit367e9e6e9ec081a08361cff14e248dd03610f57f (patch)
tree53612e91e9b33474a530e8eb96fd081b3acab475 /synapse/config
parentIncorporate review (diff)
downloadsynapse-367e9e6e9ec081a08361cff14e248dd03610f57f.tar.xz
Lint
Diffstat (limited to 'synapse/config')
-rw-r--r--synapse/config/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py
index 22673be9dd..23ddd0ab08 100644
--- a/synapse/config/server.py
+++ b/synapse/config/server.py
@@ -536,7 +536,7 @@ class ServerConfig(Config):
         # user on the homeserver.
         users_new_default_push_rules = (
             config.get("users_new_default_push_rules") or []
-        )
+        )  # type: list
         if not isinstance(users_new_default_push_rules, list):
             raise ConfigError("'users_new_default_push_rules' must be a list")