fix linting
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Elizabeth Hunt 2024-09-05 00:17:35 -07:00
parent 45726367ee
commit e4e31978ba
Signed by: simponic
GPG Key ID: 2909B9A7FF6213EE
3 changed files with 3 additions and 4 deletions

View File

@ -1,7 +1,7 @@
import asyncio
from abc import abstractmethod
from enum import Enum
from typing import List, Optional, Dict
from typing import Dict, List, Optional
from kennel.app import logger
from kennel.engine.entities.entity import Entity, EntityManager

View File

@ -9,9 +9,9 @@ from kennel.engine.game import Game
from kennel.engine.systems.network import (
EntityPositionUpdateEvent,
Event,
UpstreamEventProcessor,
EventType,
NetworkSystem,
UpstreamEventProcessor,
)
from kennel.engine.systems.system import SystemManager
from kennel.engine.systems.world import WorldSystem

View File

@ -1,6 +1,6 @@
import asyncio
import uuid
from typing import Annotated, Optional, List
from typing import Annotated, List, Optional
from fastapi import (
Cookie,
@ -92,7 +92,6 @@ async def websocket_endpoint(
session: Annotated[str, Depends(get_cookie_or_token)],
):
await websocket.accept()
client = WebSocketClient(websocket)
logger.info(f"Websocket connection established for session {session}")
session_entities = create_session_controllable_entities(session)