From c39367ac7e163395ae726bd169926004d4d99d67 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Mon, 2 Sep 2024 23:59:48 -0700 Subject: fix CI --- kennel/engine/systems/network.py | 15 ++++++++++----- kennel/engine/systems/system.py | 3 ++- kennel/engine/systems/world.py | 6 +++--- 3 files changed, 15 insertions(+), 9 deletions(-) (limited to 'kennel/engine/systems') diff --git a/kennel/engine/systems/network.py b/kennel/engine/systems/network.py index 96ebc46..1c1d71c 100644 --- a/kennel/engine/systems/network.py +++ b/kennel/engine/systems/network.py @@ -1,9 +1,12 @@ +import asyncio +from abc import abstractmethod from enum import Enum -from kennel.engine.entities.entity import Entity, EntityType, EntityManager +from typing import List, Optional + +from kennel.app import logger +from kennel.engine.entities.entity import Entity, EntityManager + from .system import System, SystemType -from abc import abstractmethod -from typing import Optional, List -import asyncio class EventType(str, Enum): @@ -101,7 +104,9 @@ class Publishable: class EventProcessor: @abstractmethod - def accept(self, entity_manager: EntityManager, event: Event | tuple[Event, str]) -> None: + def accept( + self, entity_manager: EntityManager, event: Event | tuple[Event, str] + ) -> None: pass diff --git a/kennel/engine/systems/system.py b/kennel/engine/systems/system.py index 78bda58..e3ddb27 100644 --- a/kennel/engine/systems/system.py +++ b/kennel/engine/systems/system.py @@ -1,6 +1,7 @@ +from abc import abstractmethod from enum import Enum + from kennel.engine.entities.entity import EntityManager -from abc import abstractmethod class SystemType(str, Enum): diff --git a/kennel/engine/systems/world.py b/kennel/engine/systems/world.py index 396e7cb..b74816f 100644 --- a/kennel/engine/systems/world.py +++ b/kennel/engine/systems/world.py @@ -1,7 +1,7 @@ -from kennel.engine.systems.system import System, SystemType -from kennel.engine.entities.entity import EntityManager -from kennel.engine.components.component import ComponentType from kennel.app import logger +from kennel.engine.components.component import ComponentType +from kennel.engine.entities.entity import EntityManager +from kennel.engine.systems.system import System, SystemType class WorldSystem(System): -- cgit v1.3