Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
alwaysintreble committed Oct 8, 2023
1 parent 32aca5b commit 8ed60bc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion worlds/messenger/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 2 additions & 2 deletions worlds/messenger/test/test_locations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
4 changes: 1 addition & 3 deletions worlds/messenger/test/test_logic.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from typing import Iterable, List

from BaseClasses import ItemClassification
from . import MessengerTestBase

Expand Down Expand Up @@ -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"],
Expand Down

0 comments on commit 8ed60bc

Please sign in to comment.