From 6f02429f3946226ab644765654ee0735da8ba24e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 21 Jul 2024 19:56:40 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- Dolphin scripts/Entrance Randomizer/__main__.py | 2 +- Dolphin scripts/Entrance Randomizer/lib/entrance_rando.py | 2 +- Dolphin scripts/Entrance Randomizer/lib/graph_creation.py | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Dolphin scripts/Entrance Randomizer/__main__.py b/Dolphin scripts/Entrance Randomizer/__main__.py index eab9010..0c12b9d 100644 --- a/Dolphin scripts/Entrance Randomizer/__main__.py +++ b/Dolphin scripts/Entrance Randomizer/__main__.py @@ -20,10 +20,10 @@ from lib.constants import * # noqa: F403 from lib.constants import __version__ from lib.entrance_rando import ( - _transition_infos_dict_rando, CLOSED_DOOR_EXITS, DISABLED_TRANSITIONS, NO_CONNECTION_FOUND_ERROR, + _transition_infos_dict_rando, bypassed_exits, highjack_transition_rando, manually_disabled_transitions, diff --git a/Dolphin scripts/Entrance Randomizer/lib/entrance_rando.py b/Dolphin scripts/Entrance Randomizer/lib/entrance_rando.py index 3e4cb62..6326537 100644 --- a/Dolphin scripts/Entrance Randomizer/lib/entrance_rando.py +++ b/Dolphin scripts/Entrance Randomizer/lib/entrance_rando.py @@ -765,7 +765,7 @@ def set_linked_transitions(): connect_the_first_levels(closed_door_levels) making_choices_for_levels( - len(closed_door_levels), # we already did the closed_door_levels + len(closed_door_levels), # we already did the closed_door_levels level_list, ) diff --git a/Dolphin scripts/Entrance Randomizer/lib/graph_creation.py b/Dolphin scripts/Entrance Randomizer/lib/graph_creation.py index f4a6d08..ad84851 100644 --- a/Dolphin scripts/Entrance Randomizer/lib/graph_creation.py +++ b/Dolphin scripts/Entrance Randomizer/lib/graph_creation.py @@ -6,7 +6,7 @@ from lib.constants import * # noqa: F403 from lib.constants import __version__ -from lib.entrance_rando import _transition_infos_dict_rando, Outpost +from lib.entrance_rando import Outpost, _transition_infos_dict_rando from lib.types_ import SeedType @@ -177,11 +177,11 @@ def create_edges( if starting_area == LevelCRC.BETA_VOLCANO: connections_one_way.append(( (LevelCRC.BETA_VOLCANO, LevelCRC.JUNGLE_CANYON), - (LevelCRC.BETA_VOLCANO, LevelCRC.JUNGLE_CANYON) + (LevelCRC.BETA_VOLCANO, LevelCRC.JUNGLE_CANYON), )) connections_one_way.append(( (LevelCRC.BETA_VOLCANO, LevelCRC.PLANE_COCKPIT), - (LevelCRC.BETA_VOLCANO, LevelCRC.PLANE_COCKPIT) + (LevelCRC.BETA_VOLCANO, LevelCRC.PLANE_COCKPIT), )) output_text = "" @@ -234,7 +234,7 @@ def create_graphml( + '\n' + create_vertices(all_transitions, starting_area) + create_edges( - all_transitions, manually_disabled_transitions, closed_door_exits, starting_area + all_transitions, manually_disabled_transitions, closed_door_exits, starting_area, ) + "" )