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>
This commit is contained in:
Dan Callahan 2020-10-27 23:26:36 +00:00 committed by GitHub
parent e90fad5cba
commit aff1eb7c67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 12 additions and 11 deletions

View file

@ -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: