mypy update + fix

This commit is contained in:
Raffson 2024-04-13 16:15:33 +02:00
parent 50808c3c06
commit a7e4cad3b7
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99
2 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ class ConnectionManager:
futures = []
for connection in self.active_connections:
futures.append(connection.close())
await wait(futures)
await wait(futures) # type: ignore
async def connect(self, websocket: WebSocket) -> None:
await websocket.accept()
@ -31,7 +31,7 @@ class ConnectionManager:
futures = []
for connection in self.active_connections:
futures.append(connection.send_json(jsonable_encoder(events)))
await wait(futures)
await wait(futures) # type: ignore
manager = ConnectionManager()

View File

@ -20,7 +20,7 @@ iniconfig==2.0.0
Jinja2==3.1.3
lupa==2.0
MarkupSafe==2.1.5
mypy==1.8.0
mypy==1.9.0
mypy-extensions==1.0.0
nodeenv==1.8.0
packaging==23.2