diff --git a/.github/verify_newsfragments.py b/.github/verify_newsfragments.py index c2803a0..1007a92 100644 --- a/.github/verify_newsfragments.py +++ b/.github/verify_newsfragments.py @@ -16,7 +16,7 @@ def main(): invalid_filenames = [ filename for filename - in listdir(NEWSFRAGMENTS_FIR) + in listdir(NEWSFRAGMENTS_FIR) # noqa: PTH208 # Easier as strings if not (NEWS_PATTERN.fullmatch(filename) or filename.endswith(".gitignore")) ] diff --git a/Dolphin scripts/Entrance Randomizer/lib/transition_infos.py b/Dolphin scripts/Entrance Randomizer/lib/transition_infos.py index 1cdcfa5..5c5bb32 100644 --- a/Dolphin scripts/Entrance Randomizer/lib/transition_infos.py +++ b/Dolphin scripts/Entrance Randomizer/lib/transition_infos.py @@ -20,7 +20,7 @@ class Transition(NamedTuple): class ExitJSON(TypedDict): area_id: str area_name: str - requires: None | list[list[str]] + requires: list[list[str]] | None class AreaJSON(TypedDict): @@ -45,7 +45,7 @@ class AreaJSON(TypedDict): class Exit: area_id: int area_name: str - requires: None | list[list[str]] + requires: list[list[str]] | None @dataclass(frozen=True)