Skip to content

Commit

Permalink
Merge pull request #131 from P-Schumacher/fix_type_hinting
Browse files Browse the repository at this point in the history
changed type hinting to typing module to pass python 3.8 tests
  • Loading branch information
vikashplus authored Jan 2, 2024
2 parents 72a9090 + 88ce7bd commit ca16a54
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions myosuite/envs/myo/myochallenge/chasetag_v0.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import pink
import os
from enum import Enum
from typing import Optional
from typing import Optional, Tuple

from myosuite.envs.myo.base_v0 import BaseV0
from myosuite.envs.myo.myobase.walk_v0 import WalkEnvV0
Expand Down Expand Up @@ -40,10 +40,10 @@ class ChallengeOpponent:
def __init__(self,
sim,
rng,
probabilities: tuple[float],
probabilities: Tuple[float],
min_spawn_distance: float,
chase_vel_range: tuple[float],
random_vel_range: tuple[float],
chase_vel_range: Tuple[float],
random_vel_range: Tuple[float],
dt=0.01,
):
"""
Expand Down Expand Up @@ -407,11 +407,11 @@ class RepellerChallengeOpponent(ChallengeOpponent):
def __init__(self,
sim,
rng,
probabilities: tuple[float],
probabilities: Tuple[float],
min_spawn_distance: float,
chase_vel_range: tuple[float],
random_vel_range: tuple[float],
repeller_vel_range: tuple[float],
chase_vel_range: Tuple[float],
random_vel_range: Tuple[float],
repeller_vel_range: Tuple[float],
dt=0.01,
):
"""
Expand Down

0 comments on commit ca16a54

Please sign in to comment.