Skip to content

Commit

Permalink
Manual Ruff fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Dec 1, 2024
1 parent c3b381c commit 4f5fe5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/verify_newsfragments.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
]

Expand Down
4 changes: 2 additions & 2 deletions Dolphin scripts/Entrance Randomizer/lib/transition_infos.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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)
Expand Down

0 comments on commit 4f5fe5c

Please sign in to comment.