diff options
author | Dan Callahan <dan.callahan@gmail.com> | 2020-10-27 23:26:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-27 23:26:36 +0000 |
commit | aff1eb7c671b0a3813407321d2702ec46c71fa56 (patch) | |
tree | 08063039b647245ffb61ed9920b7cdc84105d2f7 /synapse/storage | |
parent | Minor updates to docs on how to run tests (#8666) (diff) | |
download | synapse-aff1eb7c671b0a3813407321d2702ec46c71fa56.tar.xz |
Tell Black to format code for Python 3.5 (#8664)
This allows trailing commas in multi-line arg lists. Minor, but we might as well keep our formatting current with regard to our minimum supported Python version. Signed-off-by: Dan Callahan <danc@element.io>
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/database.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/database.py b/synapse/storage/database.py index 0217e63108..a0572b2952 100644 --- a/synapse/storage/database.py +++ b/synapse/storage/database.py @@ -94,7 +94,7 @@ def make_pool( cp_openfun=lambda conn: engine.on_new_connection( LoggingDatabaseConnection(conn, engine, "on_new_connection") ), - **db_config.config.get("args", {}) + **db_config.config.get("args", {}), ) @@ -632,7 +632,7 @@ class DatabasePool: func, *args, db_autocommit=db_autocommit, - **kwargs + **kwargs, ) for after_callback, after_args, after_kwargs in after_callbacks: |