mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:06:07 -04:00
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:
parent
e90fad5cba
commit
aff1eb7c67
10 changed files with 12 additions and 11 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue