Skip to content

Commit

Permalink
[states] Add dummy definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
Prometheus3375 committed Jul 19, 2024
1 parent e74a762 commit 8a5041c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions solve/states/rooms.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ def next_states(self, /, is_doing_triumph: bool) -> Iterator[Self]:
}
yield StateOfAllRooms(**kwargs)

# Required for correct type hinting in stupid PyCharm...
def solve(self, /, is_doing_triumph: bool, last_position_touched: str | None) -> Self: ...
del solve


def init_rooms(
*,
Expand Down
4 changes: 4 additions & 0 deletions solve/states/statues.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ def next_states(self, /, is_doing_triumph: bool) -> Iterator[Self]:
}
yield StateOfAllStatues(**kwargs)

# Required for correct type hinting in stupid PyCharm...
def solve(self, /, is_doing_triumph: bool, last_position_touched: str | None) -> Self: ...
del solve


def init_statues(
*,
Expand Down

0 comments on commit 8a5041c

Please sign in to comment.