From 8ed60bca6043c1d42bdadf273618d24ba6bf09fe Mon Sep 17 00:00:00 2001 From: alwaysintreble Date: Sun, 8 Oct 2023 06:48:04 -0500 Subject: [PATCH] whitespace --- worlds/messenger/rules.py | 2 +- worlds/messenger/test/test_locations.py | 4 ++-- worlds/messenger/test/test_logic.py | 4 +--- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/worlds/messenger/rules.py b/worlds/messenger/rules.py index 15811ef50651..65a99627f22e 100644 --- a/worlds/messenger/rules.py +++ b/worlds/messenger/rules.py @@ -119,7 +119,7 @@ def can_destroy_projectiles(self, state: CollectionState) -> bool: def can_dboost(self, state: CollectionState) -> bool: return state.has_any({"Path of Resilience", "Meditation"}, self.player) and \ state.has("Second Wind", self.player) - + def is_aerobatic(self, state: CollectionState) -> bool: return self.has_wingsuit(state) and state.has("Aerobatics Warrior", self.player) diff --git a/worlds/messenger/test/test_locations.py b/worlds/messenger/test/test_locations.py index 93c326508bc7..0c330be4bd3a 100644 --- a/worlds/messenger/test/test_locations.py +++ b/worlds/messenger/test/test_locations.py @@ -10,7 +10,7 @@ class LocationsTest(MessengerTestBase): @property def run_default_tests(self) -> bool: return False - - def test_locations_exist(self): + + def test_locations_exist(self) -> None: for location in self.multiworld.worlds[1].location_name_to_id: self.assertIsInstance(self.multiworld.get_location(location, self.player), MessengerLocation) diff --git a/worlds/messenger/test/test_logic.py b/worlds/messenger/test/test_logic.py index 8c84d9db175d..53ea92992212 100644 --- a/worlds/messenger/test/test_logic.py +++ b/worlds/messenger/test/test_logic.py @@ -1,5 +1,3 @@ -from typing import Iterable, List - from BaseClasses import ItemClassification from . import MessengerTestBase @@ -81,7 +79,7 @@ def test_windmill(self) -> None: item = self.get_item_by_name("Rope Dart") self.collect(item) self.assertTrue(self.can_reach_location(special_loc)) - + def test_glacial(self) -> None: """Test Glacial Peak locations.""" self.assertAccessDependency(["Glacial Peak Seal - Ice Climbers"],