Skip to content

Commit

Permalink
pre-commit & type hinting
Browse files Browse the repository at this point in the history
  • Loading branch information
reginald-mclean committed Aug 30, 2024
1 parent 7d37933 commit 3cfbad0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metaworld/wrappers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Any, List
from typing import Any, List, Optional

import gymnasium as gym
import numpy as np
Expand Down Expand Up @@ -48,7 +48,7 @@ def __init__(
env: Env,
tasks: List[Task],
sample_tasks_on_reset: bool = True,
seed: int | None = None,
seed: Optional[int] = None,
):
super().__init__(env)
self.tasks = tasks
Expand Down

0 comments on commit 3cfbad0

Please sign in to comment.