summary refs log tree commit diff
path: root/synapse/http
diff options
context:
space:
mode:
authorDan Callahan <danc@element.io>2021-04-13 10:41:34 +0100
committerGitHub <noreply@github.com>2021-04-13 10:41:34 +0100
commit1d5f0e3529ec5acd889037c8ebcca2820ad003d5 (patch)
tree4e911bba7305b49ec44549f803b5cf64f5323456 /synapse/http
parentAdd an admin API to manage ratelimit for a specific user (#9648) (diff)
downloadsynapse-1d5f0e3529ec5acd889037c8ebcca2820ad003d5.tar.xz
Bump black configuration to target py36 (#9781)
Signed-off-by: Dan Callahan <danc@element.io>
Diffstat (limited to 'synapse/http')
-rw-r--r--synapse/http/matrixfederationclient.py2
-rw-r--r--synapse/http/site.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py
index 5f01ebd3d4..ab47dec8f2 100644
--- a/synapse/http/matrixfederationclient.py
+++ b/synapse/http/matrixfederationclient.py
@@ -272,7 +272,7 @@ class MatrixFederationHttpClient:
         self,
         request: MatrixFederationRequest,
         try_trailing_slash_on_400: bool = False,
-        **send_request_args
+        **send_request_args,
     ) -> IResponse:
         """Wrapper for _send_request which can optionally retry the request
         upon receiving a combination of a 400 HTTP response code and a
diff --git a/synapse/http/site.py b/synapse/http/site.py
index c0c873ce32..32b5e19c09 100644
--- a/synapse/http/site.py
+++ b/synapse/http/site.py
@@ -497,7 +497,7 @@ class SynapseSite(Site):
         resource,
         server_version_string,
         *args,
-        **kwargs
+        **kwargs,
     ):
         Site.__init__(self, resource, *args, **kwargs)