Skip to content

Commit

Permalink
More mypy error fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fenhl committed Mar 27, 2024
1 parent 2127e85 commit 98cb72d
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 55 deletions.
2 changes: 1 addition & 1 deletion OcarinaSongs.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

ActivationTransform: TypeAlias = "Callable[[list[int]], list[int]]"
PlaybackTransform: TypeAlias = "Callable[[list[dict[str, int]]], list[dict[str, int]]]"
P = TypeVar('P', list[int], list[dict[str, int]])
P = TypeVar('P', "list[int]", "list[dict[str, int]]")
T = TypeVar('T', ActivationTransform, PlaybackTransform)

PLAYBACK_START: int = 0xB781DC
Expand Down
Loading

0 comments on commit 98cb72d

Please sign in to comment.