Skip to content

Commit

Permalink
Fix more pycharm warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
massimilianodelliubaldini committed Dec 4, 2024
1 parent 2a01836 commit 2519e49
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 1 addition & 2 deletions worlds/jakanddaxter/Rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
from BaseClasses import MultiWorld, CollectionState
from Options import OptionError
from . import JakAndDaxterWorld
from .Options import (JakAndDaxterOptions,
EnableOrbsanity,
from .Options import (EnableOrbsanity,
GlobalOrbsanityBundleSize,
PerLevelOrbsanityBundleSize,
FireCanyonCellCount,
Expand Down
6 changes: 4 additions & 2 deletions worlds/jakanddaxter/regs/SandoverVillageRegions.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ def build_regions(level_name: str, world: JakAndDaxterWorld) -> List[JakAndDaxte
yakow_cliff.add_fly_locations([75], access_rule=lambda state: can_free_scout_flies(state, player))

oracle_platforms = JakAndDaxterRegion("Oracle Platforms", player, multiworld, level_name, 6)
oracle_platforms.add_cell_locations([13], access_rule=lambda state: world.can_trade(state, world.total_trade_orbs, None))
oracle_platforms.add_cell_locations([14], access_rule=lambda state: world.can_trade(state, world.total_trade_orbs, 13))
oracle_platforms.add_cell_locations([13], access_rule=lambda state:
world.can_trade(state, world.total_trade_orbs, None))
oracle_platforms.add_cell_locations([14], access_rule=lambda state:
world.can_trade(state, world.total_trade_orbs, 13))
oracle_platforms.add_fly_locations([393291], access_rule=lambda state:
can_free_scout_flies(state, player))

Expand Down
2 changes: 1 addition & 1 deletion worlds/jakanddaxter/test/test_trades.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ def test_trades_are_accessible(self):
self.collect_all_but("")
self.assertTrue(self.multiworld
.get_location("SV: Bring 90 Orbs To The Mayor", self.player)
.can_reach(self.multiworld.state))
.can_reach(self.multiworld.state))

0 comments on commit 2519e49

Please sign in to comment.