From 3aae3fae43b7e9b6250eda175f407fc120c922a7 Mon Sep 17 00:00:00 2001 From: "Allen D. Householder" Date: Thu, 28 Sep 2023 14:50:33 -0400 Subject: [PATCH] clean up imports --- test/cvd_states/test_hypercube.py | 2 -- vultron/cvd_states/hypercube.py | 2 +- vultron/cvd_states/states.py | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/test/cvd_states/test_hypercube.py b/test/cvd_states/test_hypercube.py index c9f0f32d..eb5d3d2a 100644 --- a/test/cvd_states/test_hypercube.py +++ b/test/cvd_states/test_hypercube.py @@ -15,9 +15,7 @@ from itertools import product import vultron.cvd_states.hypercube as hc -import vultron.cvd_states.states from vultron.cvd_states.errors import TransitionValidationError -from vultron.cvd_states.states import CS_pxa from vultron.cvd_states.validations import is_valid_transition diff --git a/vultron/cvd_states/hypercube.py b/vultron/cvd_states/hypercube.py index 7681a1c4..319f1d08 100644 --- a/vultron/cvd_states/hypercube.py +++ b/vultron/cvd_states/hypercube.py @@ -325,7 +325,7 @@ def paths_to(self, state: str = "VFDPXA") -> List[tuple]: @property def histories(self) -> list: """ - Return all possible histories + A list of all possible case histories traversing the case state space from _vfdpxa_ to _VFDPXA_. """ _H = self.sequences_between(start="vfdpxa", end="VFDPXA") H = ["".join(h) for h in _H] diff --git a/vultron/cvd_states/states.py b/vultron/cvd_states/states.py index 9e0df957..54262c30 100644 --- a/vultron/cvd_states/states.py +++ b/vultron/cvd_states/states.py @@ -19,7 +19,7 @@ """ from enum import Enum, Flag, IntEnum -from typing import List, NamedTuple, Tuple +from typing import NamedTuple, Tuple from vultron.cvd_states.validations import ensure_valid_state