mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
Run black and isort w/ the new config
This commit is contained in:
@ -16,7 +16,9 @@ def num_hosts():
|
||||
@pytest.fixture
|
||||
async def hosts(num_hosts):
|
||||
_hosts = HostFactory.create_batch(num_hosts)
|
||||
await asyncio.gather(*[_host.get_network().listen(LISTEN_MADDR) for _host in _hosts])
|
||||
await asyncio.gather(
|
||||
*[_host.get_network().listen(LISTEN_MADDR) for _host in _hosts]
|
||||
)
|
||||
yield _hosts
|
||||
# Clean up
|
||||
listeners = []
|
||||
|
||||
Reference in New Issue
Block a user