summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-11-19 13:30:04 +0000
committerBrendan Abolivier <babolivier@matrix.org>2019-11-19 13:30:04 +0000
commitbf9a11c54d3c9ca1e4fa9420b567efceb1e46d5b (patch)
treee8790807d4266d3505fe64df965c6291b5e6a2bb
parentLint (diff)
downloadsynapse-bf9a11c54d3c9ca1e4fa9420b567efceb1e46d5b.tar.xz
Lint again
-rw-r--r--synapse/config/server.py2
-rw-r--r--tests/rest/client/test_retention.py12
2 files changed, 3 insertions, 11 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py
index 8a55ffac4f..ed916e1400 100644
--- a/synapse/config/server.py
+++ b/synapse/config/server.py
@@ -19,7 +19,7 @@ import logging
 import os.path
 import re
 from textwrap import indent
-from typing import List, Dict, Optional
+from typing import Dict, List, Optional
 
 import attr
 import yaml
diff --git a/tests/rest/client/test_retention.py b/tests/rest/client/test_retention.py
index 6bf485c239..9e549d8a91 100644
--- a/tests/rest/client/test_retention.py
+++ b/tests/rest/client/test_retention.py
@@ -121,11 +121,7 @@ class RetentionTestCase(unittest.HomeserverTestCase):
         self.reactor.advance(one_day_ms * 2 / 1000)
 
         # Send another event, which shouldn't get filtered out.
-        resp = self.helper.send(
-            room_id=room_id,
-            body="2",
-            tok=self.token,
-        )
+        resp = self.helper.send(room_id=room_id, body="2", tok=self.token)
 
         valid_event_id = resp.get("event_id")
 
@@ -252,11 +248,7 @@ class RetentionNoDefaultPolicyTestCase(unittest.HomeserverTestCase):
     def _test_retention(self, room_id, expected_code_for_first_event=200):
         # Send a first event to the room. This is the event we'll want to be purged at the
         # end of the test.
-        resp = self.helper.send(
-            room_id=room_id,
-            body="1",
-            tok=self.token,
-        )
+        resp = self.helper.send(room_id=room_id, body="1", tok=self.token)
 
         first_event_id = resp.get("event_id")