diff --git a/gym/f110_gym/envs/base_classes.py b/gym/f110_gym/envs/base_classes.py index b70c06cf..016569f9 100644 --- a/gym/f110_gym/envs/base_classes.py +++ b/gym/f110_gym/envs/base_classes.py @@ -407,7 +407,7 @@ def __init__( self.ego_idx = ego_idx self.params = params self.agent_poses = np.empty((self.num_agents, 3)) - self.agents: List[RaceCar] = [] + self.agents: list[RaceCar] = [] self.collisions = np.zeros((self.num_agents,)) self.collision_idx = -1 * np.ones((self.num_agents,)) self.model = model