mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-30 09:55:39 +00:00
Update and rerun pre-commit
hooks for better code quality (#179)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
||||
all_envs = [
|
||||
{
|
||||
"id": "mujoco",
|
||||
|
@@ -6,9 +6,10 @@ import re
|
||||
|
||||
from PIL import Image
|
||||
from tqdm import tqdm
|
||||
from utils import kill_strs
|
||||
|
||||
import gymnasium
|
||||
from utils import kill_strs
|
||||
|
||||
|
||||
# snake to camel case: https://stackoverflow.com/questions/1175208/elegant-python-function-to-convert-camelcase-to-snake-case # noqa: E501
|
||||
pattern = re.compile(r"(?<!^)(?=[A-Z])")
|
||||
|
@@ -7,9 +7,10 @@ from functools import reduce
|
||||
|
||||
import numpy as np
|
||||
from tqdm import tqdm
|
||||
from utils import kill_strs, trim
|
||||
|
||||
import gymnasium as gym
|
||||
from utils import kill_strs, trim
|
||||
|
||||
|
||||
LAYOUT = "env"
|
||||
|
||||
|
@@ -1,5 +1,6 @@
|
||||
import sys
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
if len(sys.argv) < 2:
|
||||
print("Provide a path")
|
||||
|
Reference in New Issue
Block a user