Open vil02 opened 1 week ago
The output of create contains some very long lines. Modify the code in such a way, that each line of the output is at most 88 characters long.
create
Generate and inspect any puzzle, for example by running
poetry run python3 examples/basic_usage.py > example_output.py
and opening the generated example_output.py file.
example_output.py
Adding a line like
assert all(len(_) <= 88 for _ in in_puzzle.splitlines())
into _run_puzzle_str is a good start.
_run_puzzle_str
Hi @vil02 , can you assign this issue to me? I'll get working on it as soon as I can today
@mpa-LHutchinson: if you would like to discuss something more directly, feel free to e-mail me: vil02_puzzle_generator@10g.pl.
The output of
create
contains some very long lines. Modify the code in such a way, that each line of the output is at most 88 characters long.How to see the problem
Generate and inspect any puzzle, for example by running
and opening the generated
example_output.py
file.Testing strategy
Adding a line like
into
_run_puzzle_str
is a good start.