Skip to content

Commit

Permalink
style: add type hints to run_puzzle
Browse files Browse the repository at this point in the history
  • Loading branch information
vil02 committed Aug 15, 2024
1 parent 8ab721d commit 493c1ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions puzzle_generator/run_puzzle.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
def run_puzzle(
in_puzzle: typing.Tuple[str, bytes],
in_decrypt: typing.Callable[[bytes, bytes], bytes | None],
get_answer,
):
get_answer: typing.Callable[[], str],
) -> None:
question, rest = in_puzzle
print(question)
if rest:
Expand Down

0 comments on commit 493c1ed

Please sign in to comment.