From 17ec8f34f7ec41b0512b3fbb7ca6feb8893df9f9 Mon Sep 17 00:00:00 2001 From: Kallinteris Andreas <30759571+Kallinteris-Andreas@users.noreply.github.com> Date: Wed, 30 Oct 2024 17:23:01 +0000 Subject: [PATCH] `pre-commit` --- docs/_scripts/gen_envs_display.py | 3 ++- docs/_scripts/gen_gifs.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/_scripts/gen_envs_display.py b/docs/_scripts/gen_envs_display.py index e0ce62c9..adb03a64 100644 --- a/docs/_scripts/gen_envs_display.py +++ b/docs/_scripts/gen_envs_display.py @@ -2,9 +2,10 @@ import re import gymnasium as gym -import gymnasium_robotics from tqdm import tqdm +import gymnasium_robotics + gym.register_envs(gymnasium_robotics) if __name__ == "__main__": diff --git a/docs/_scripts/gen_gifs.py b/docs/_scripts/gen_gifs.py index 0af46e51..4463f7fd 100644 --- a/docs/_scripts/gen_gifs.py +++ b/docs/_scripts/gen_gifs.py @@ -1,10 +1,11 @@ import os import gymnasium as gym -import gymnasium_robotics from PIL import Image from tqdm import tqdm +import gymnasium_robotics + gym.register_envs(gymnasium_robotics) # how many steps to record an env for