turn mypy checks back on, fix some errors

This commit is contained in:
pacrob
2024-04-27 09:41:56 -06:00
committed by Paul Robinson
parent f0fbd2d8c8
commit 8dda7b933e
11 changed files with 39 additions and 33 deletions

View File

@ -189,7 +189,8 @@ class Mplex(IMuxedConn):
_bytes = header + encode_varint_prefixed(data)
return await self.write_to_stream(_bytes)
# type ignored TODO figure out return for this and write_to_stream
return await self.write_to_stream(_bytes) # type: ignore
async def write_to_stream(self, _bytes: bytes) -> None:
"""