Skip to content

Commit

Permalink
Resolve formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
retinfai committed Feb 27, 2024
1 parent 8f1d83f commit 94d3456
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/envrionments/pyboy/mario/mario_environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ def __init__(self, config: GymEnvironmentConfig) -> None:

def sample_action(self) -> int:
return np.random.uniform(
self.min_action_value, self.max_action_value, size=self.action_num
)
self.min_action_value, self.max_action_value, size=self.action_num
)

def _stats_to_state(self, game_stats: Dict[str, int]) -> List:
state: List = []
Expand Down
4 changes: 2 additions & 2 deletions scripts/envrionments/pyboy/pokemon/pokemon_environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ def __init__(self, config: GymEnvironmentConfig) -> None:

def sample_action(self) -> int:
return np.random.uniform(
self.min_action_value, self.max_action_value, size=self.action_num
)
self.min_action_value, self.max_action_value, size=self.action_num
)

def _stats_to_state(self, game_stats: Dict[str, any]) -> List[any]:
state: List[any] = []
Expand Down

0 comments on commit 94d3456

Please sign in to comment.