From a5b9bba0014b79276263f2b7812810d1cc1f4693 Mon Sep 17 00:00:00 2001 From: Kallinteris Andreas Date: Sat, 12 Oct 2024 08:51:14 +0300 Subject: [PATCH] `pre-commit` --- gymnasium/envs/mjx/__init__.py | 1 + gymnasium/envs/mjx/ant.py | 1 + gymnasium/envs/mjx/humanoid.py | 1 + gymnasium/envs/mjx/locomotion_2d.py | 1 + gymnasium/envs/mjx/manipulation.py | 1 + gymnasium/envs/mjx/mjx_env.py | 1 + gymnasium/envs/mjx/pendulum.py | 1 + gymnasium/envs/mjx/swimmer.py | 1 + 8 files changed, 8 insertions(+) diff --git a/gymnasium/envs/mjx/__init__.py b/gymnasium/envs/mjx/__init__.py index 97a9e6c29..ad6ec9f00 100644 --- a/gymnasium/envs/mjx/__init__.py +++ b/gymnasium/envs/mjx/__init__.py @@ -1,2 +1,3 @@ """Contains the base class and environments for MJX.""" + from gymnasium.envs.mjx.mjx_env import MJXEnv diff --git a/gymnasium/envs/mjx/ant.py b/gymnasium/envs/mjx/ant.py index e6d6536e2..80d0f12e4 100644 --- a/gymnasium/envs/mjx/ant.py +++ b/gymnasium/envs/mjx/ant.py @@ -1,4 +1,5 @@ """Contains the class for the `Ant` environment.""" + import gymnasium diff --git a/gymnasium/envs/mjx/humanoid.py b/gymnasium/envs/mjx/humanoid.py index 68a90d9f5..1c46ec689 100644 --- a/gymnasium/envs/mjx/humanoid.py +++ b/gymnasium/envs/mjx/humanoid.py @@ -1,4 +1,5 @@ """Contains the classes for the humaanoid environments environments, `Humanoid` and `HumanoidStandup`.""" + import gymnasium diff --git a/gymnasium/envs/mjx/locomotion_2d.py b/gymnasium/envs/mjx/locomotion_2d.py index e1d7f4279..ad52f0695 100644 --- a/gymnasium/envs/mjx/locomotion_2d.py +++ b/gymnasium/envs/mjx/locomotion_2d.py @@ -1,4 +1,5 @@ """Contains the classes for the 2d locomotion environments, `HalfCheetah`, `Hopper` and `Walker2D`.""" + import gymnasium diff --git a/gymnasium/envs/mjx/manipulation.py b/gymnasium/envs/mjx/manipulation.py index af9576019..fbf5f0b85 100644 --- a/gymnasium/envs/mjx/manipulation.py +++ b/gymnasium/envs/mjx/manipulation.py @@ -1,4 +1,5 @@ """Contains the classes for the manipulation environments, `Pusher`, `Reacher`.""" + import gymnasium diff --git a/gymnasium/envs/mjx/mjx_env.py b/gymnasium/envs/mjx/mjx_env.py index 7827ffc6d..b8cd6056b 100644 --- a/gymnasium/envs/mjx/mjx_env.py +++ b/gymnasium/envs/mjx/mjx_env.py @@ -2,6 +2,7 @@ Note: This is expted to be used my `gymnasium`, `gymnasium-robotics`, `metaworld` and 3rd party libraries. """ + from typing import Dict, Tuple, Union import numpy as np diff --git a/gymnasium/envs/mjx/pendulum.py b/gymnasium/envs/mjx/pendulum.py index 8a0ccad04..b62eede13 100644 --- a/gymnasium/envs/mjx/pendulum.py +++ b/gymnasium/envs/mjx/pendulum.py @@ -1,4 +1,5 @@ """Contains the classes for the Inverted Pendulum environments, `InvertedPendulum`, `InvertedDoublePendulum`.""" + import gymnasium diff --git a/gymnasium/envs/mjx/swimmer.py b/gymnasium/envs/mjx/swimmer.py index 4b70573b6..b3f321f44 100644 --- a/gymnasium/envs/mjx/swimmer.py +++ b/gymnasium/envs/mjx/swimmer.py @@ -1,4 +1,5 @@ """Contains the class for the `Swimmer` environment.""" + import gymnasium