mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
PR feedback
- Use f-string - Fix wrongly indented comments - Add dep `trio-typing`
This commit is contained in:
@ -63,7 +63,7 @@ async def run(port: int, destination: str) -> None:
|
||||
|
||||
nursery.start_soon(read_data, stream)
|
||||
nursery.start_soon(write_data, stream)
|
||||
print("Connected to peer %s" % info.addrs[0])
|
||||
print(f"Connected to peer {info.addrs[0]}")
|
||||
|
||||
await trio.sleep_forever()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user