From 493c1edcdb1d4d9e17adfc02f84dbf9062696bee Mon Sep 17 00:00:00 2001 From: vil02 <65706193+vil02@users.noreply.github.com> Date: Thu, 15 Aug 2024 07:12:55 +0200 Subject: [PATCH] style: add type hints to `run_puzzle` --- puzzle_generator/run_puzzle.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/puzzle_generator/run_puzzle.py b/puzzle_generator/run_puzzle.py index 9890de8..52ad5f4 100644 --- a/puzzle_generator/run_puzzle.py +++ b/puzzle_generator/run_puzzle.py @@ -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: