diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 39ca97991..9ddc7ce55 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,7 +18,7 @@ repos: - id: detect-private-key - id: debug-statements - repo: https://github.com/codespell-project/codespell - rev: v2.2.2 + rev: v2.2.4 hooks: - id: codespell args: @@ -44,7 +44,7 @@ repos: hooks: - id: isort - repo: https://github.com/python/black - rev: 23.1.0 + rev: 23.3.0 hooks: - id: black - repo: https://github.com/pycqa/pydocstyle diff --git a/docs/scripts/gen_envs_display.py b/docs/scripts/gen_envs_display.py index e9cb8738a..ca3714e56 100644 --- a/docs/scripts/gen_envs_display.py +++ b/docs/scripts/gen_envs_display.py @@ -42,39 +42,69 @@ all_envs = [ "asterix", "asteroids", "atlantis", + "atlantis2", + "backgammon", "bank_heist", + "basic_math", "battle_zone", "beam_rider", "berzerk", + "blackjack", "bowling", "boxing", "breakout", "carnival", + "casino", "centipede", "chopper_command", "crazy_climber", + "crossbow", + "darkchambers", "defender", "demon_attack", + "donkey_kong", "double_dunk", + "earthworld", "elevator_action", "enduro", + "entombed", + "et", "fishing_derby", + "flag_capture", "freeway", + "frogger", "frostbite", + "galaxian", "gopher", "gravitar", + "hangman", + "haunted_house", "hero", + "human_cannonball", "ice_hockey", "jamesbond", "journey_escape", + "kaboom", "kangaroo", + "keystone_kapers", + "king_kong", + "klax", + "koolaid", "krull", "kung_fu_master", + "laser_gates", + "lost_luggage", + "mario_bros", + "miniature_golf", "montezuma_revenge", + "mr_do", "ms_pacman", "name_this_game", + "othello", + "pacman", "phoenix", "pitfall", + "pitfall2", "pong", "pooyan", "private_eye", @@ -83,17 +113,29 @@ all_envs = [ "road_runner", "robotank", "seaquest", + "sir_lancelot", "skiing", "solaris", "space_invaders", + "space_war", "star_gunner", + "superman", + "surround", "tennis", + "tetris", + "tic_tac_toe_3d", "time_pilot", + "trondead", + "turmoil", "tutankham", "up_n_down", "venture", + "video_checkers", + "video_chess", + "video_cube", "video_pinball", "wizard_of_wor", + "word_zapper", "yars_revenge", "zaxxon", ], diff --git a/docs/scripts/gen_mds.py b/docs/scripts/gen_mds.py index ea0e71230..f1e0b1cb3 100644 --- a/docs/scripts/gen_mds.py +++ b/docs/scripts/gen_mds.py @@ -19,7 +19,7 @@ exclude_env_names = [ "tabular/Blackjack", ] for env_spec in gym.registry.values(): - if env_spec.name not in exclude_env_names: + if get_env_id(env_spec.namespace, env_spec.name, None) not in exclude_env_names: highest_version = find_highest_version(env_spec.namespace, env_spec.name) env_id = get_env_id(env_spec.namespace, env_spec.name, highest_version)