chore: cleaning some code

This commit is contained in:
2026-02-28 23:30:16 +01:00
parent 233ce3be34
commit 803e3a2972
6 changed files with 81 additions and 30 deletions

View File

@@ -287,7 +287,7 @@ def _sb3_model_cls(algo: str):
raise ValueError(f"unsupported algo '{algo}'")
def train_qtable(cfg: dict) -> tuple[EventQTable, dict]:
def train_qtable(cfg: dict) -> tuple["EventQTable", dict]:
from .lib.discrete import EventQTable
np.random.seed(int(cfg["seed"]))