#2912 - Remove some debugging print statements and apply pre-commit lint changes

This commit is contained in:
Charlie Crane
2024-11-19 18:58:51 +00:00
parent b4bc59f633
commit d3c52d0d72
7 changed files with 18 additions and 15 deletions

View File

@@ -31,7 +31,6 @@ class DoNothingAction(AbstractAction, identifier="do_nothing"):
class ConfigSchema(AbstractAction.ConfigSchema):
"""Configuration Schema for DoNothingAction."""
# type: Literal["do_nothing"] = "do_nothing"
type: str = "do_nothing"
@classmethod
@@ -133,7 +132,7 @@ class ActionManager:
def space(self) -> spaces.Space:
"""Return the gymnasium action space for this agent."""
return spaces.Discrete(len(self.action_map))
@classmethod
def from_config(cls, game: "PrimaiteGame", cfg: Dict) -> "ActionManager":
"""