Skip to content

Commit

Permalink
Fixing linting
Browse files Browse the repository at this point in the history
  • Loading branch information
micahcarroll authored Feb 1, 2025
1 parent a297040 commit 06090f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/human_aware_rl/rllib/rllib.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,9 @@ def _validate_schedule(self, schedule):
def _setup_action_space(self, agents):
action_sp = {}
for agent in agents:
action_sp[agent] = gymnasium.spaces.Discrete(len(Action.ALL_ACTIONS))
action_sp[agent] = gymnasium.spaces.Discrete(
len(Action.ALL_ACTIONS)
)
self.action_space = gymnasium.spaces.Dict(action_sp)
self.shared_action_space = gymnasium.spaces.Discrete(
len(Action.ALL_ACTIONS)
Expand Down

0 comments on commit 06090f2

Please sign in to comment.