Skip to content

Commit

Permalink
Merge pull request #74 from vil02/add_type_hints_to_run_puzzle
Browse files Browse the repository at this point in the history
style: add type hints to `run_puzzle`
  • Loading branch information
vil02 committed Aug 15, 2024
2 parents 8ab721d + c58b0c4 commit f094d6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "puzzle-generator"
version = "0.10.1"
version = "0.10.2"
description = "Generates python code representing a puzzle"
authors = ["piotr.idzik <vil02_puzzle_generator@10g.pl>"]
readme = "./puzzle_generator/README.md"
Expand Down

0 comments on commit f094d6c

Please sign in to comment.