Run Black. (#5482)

This commit is contained in:
Amber Brown 2019-06-20 19:32:02 +10:00 committed by GitHub
parent 7dcf984075
commit 32e7c9e7f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
376 changed files with 9142 additions and 10388 deletions

View file

@ -181,7 +181,7 @@ class StateTestCase(unittest.TestCase):
id="PB",
sender=BOB,
type=EventTypes.PowerLevels,
state_key='',
state_key="",
content={"users": {ALICE: 100, BOB: 50}},
),
]
@ -229,14 +229,14 @@ class StateTestCase(unittest.TestCase):
id="PB",
sender=BOB,
type=EventTypes.PowerLevels,
state_key='',
state_key="",
content={"users": {ALICE: 100, BOB: 50, CHARLIE: 50}},
),
FakeEvent(
id="PC",
sender=CHARLIE,
type=EventTypes.PowerLevels,
state_key='',
state_key="",
content={"users": {ALICE: 100, BOB: 50, CHARLIE: 0}},
),
]
@ -256,7 +256,7 @@ class StateTestCase(unittest.TestCase):
id="PA1",
sender=ALICE,
type=EventTypes.PowerLevels,
state_key='',
state_key="",
content={"users": {ALICE: 100, BOB: 50}},
),
FakeEvent(
@ -266,14 +266,14 @@ class StateTestCase(unittest.TestCase):
id="PA2",
sender=ALICE,
type=EventTypes.PowerLevels,
state_key='',
state_key="",
content={"users": {ALICE: 100, BOB: 0}},
),
FakeEvent(
id="PB",
sender=BOB,
type=EventTypes.PowerLevels,
state_key='',
state_key="",
content={"users": {ALICE: 100, BOB: 50}},
),
FakeEvent(
@ -296,7 +296,7 @@ class StateTestCase(unittest.TestCase):
id="PA",
sender=ALICE,
type=EventTypes.PowerLevels,
state_key='',
state_key="",
content={"users": {ALICE: 100, BOB: 50}},
),
FakeEvent(
@ -326,7 +326,7 @@ class StateTestCase(unittest.TestCase):
id="PA1",
sender=ALICE,
type=EventTypes.PowerLevels,
state_key='',
state_key="",
content={"users": {ALICE: 100, BOB: 50}},
),
FakeEvent(
@ -336,14 +336,14 @@ class StateTestCase(unittest.TestCase):
id="PA2",
sender=ALICE,
type=EventTypes.PowerLevels,
state_key='',
state_key="",
content={"users": {ALICE: 100, BOB: 0}},
),
FakeEvent(
id="PB",
sender=BOB,
type=EventTypes.PowerLevels,
state_key='',
state_key="",
content={"users": {ALICE: 100, BOB: 50}},
),
FakeEvent(