mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Core: purge py3.8 and py3.9 (#3973)
Co-authored-by: Remy Jette <remy@remyjette.com> Co-authored-by: Jouramie <16137441+Jouramie@users.noreply.github.com> Co-authored-by: Aaron Wagener <mmmcheese158@gmail.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from copy import deepcopy
|
||||
from typing import List, TYPE_CHECKING
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
from BaseClasses import CollectionState, PlandoOptions
|
||||
from Options import PlandoConnection
|
||||
@@ -8,7 +8,7 @@ if TYPE_CHECKING:
|
||||
from . import MessengerWorld
|
||||
|
||||
|
||||
PORTALS = [
|
||||
PORTALS: list[str] = [
|
||||
"Autumn Hills",
|
||||
"Riviere Turquoise",
|
||||
"Howling Grotto",
|
||||
@@ -18,7 +18,7 @@ PORTALS = [
|
||||
]
|
||||
|
||||
|
||||
SHOP_POINTS = {
|
||||
SHOP_POINTS: dict[str, list[str]] = {
|
||||
"Autumn Hills": [
|
||||
"Climbing Claws",
|
||||
"Hope Path",
|
||||
@@ -113,7 +113,7 @@ SHOP_POINTS = {
|
||||
}
|
||||
|
||||
|
||||
CHECKPOINTS = {
|
||||
CHECKPOINTS: dict[str, list[str]] = {
|
||||
"Autumn Hills": [
|
||||
"Hope Latch",
|
||||
"Key of Hope",
|
||||
@@ -186,7 +186,7 @@ CHECKPOINTS = {
|
||||
}
|
||||
|
||||
|
||||
REGION_ORDER = [
|
||||
REGION_ORDER: list[str] = [
|
||||
"Autumn Hills",
|
||||
"Forlorn Temple",
|
||||
"Catacombs",
|
||||
@@ -228,7 +228,7 @@ def shuffle_portals(world: "MessengerWorld") -> None:
|
||||
|
||||
return parent
|
||||
|
||||
def handle_planned_portals(plando_connections: List[PlandoConnection]) -> None:
|
||||
def handle_planned_portals(plando_connections: list[PlandoConnection]) -> None:
|
||||
"""checks the provided plando connections for portals and connects them"""
|
||||
nonlocal available_portals
|
||||
|
||||
|
||||
Reference in New Issue
Block a user