mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 17:54:48 -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
|
@ -380,7 +380,7 @@ def setup_test_homeserver(cleanup_func, *args, **kwargs):
|
|||
pool._runWithConnection,
|
||||
func,
|
||||
*args,
|
||||
**kwargs
|
||||
**kwargs,
|
||||
)
|
||||
|
||||
def runInteraction(interaction, *args, **kwargs):
|
||||
|
@ -390,7 +390,7 @@ def setup_test_homeserver(cleanup_func, *args, **kwargs):
|
|||
pool._runInteraction,
|
||||
interaction,
|
||||
*args,
|
||||
**kwargs
|
||||
**kwargs,
|
||||
)
|
||||
|
||||
pool.runWithConnection = runWithConnection
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue