This commit is contained in:
2026-04-03 16:48:51 +02:00
parent e63c2679a6
commit 6189d7f321
4 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ clean:
fclean: clean
rm mazegen-1.0.0-py3-none-any.whl
lint:
lint: install
uv run flake8 . --exclude=.venv
uv run env PYTHONPATH=src python3 -m mypy --warn-return-any --warn-unused-ignores --ignore-missing-imports --disallow-untyped-defs --check-untyped-defs -p mazegen
uv run env PYTHONPATH=src python3 -m mypy --warn-return-any --warn-unused-ignores --ignore-missing-imports --disallow-untyped-defs --check-untyped-defs -p parsing
@@ -29,7 +29,7 @@ lint:
uv run env PYTHONPATH=src python3 -m mypy --warn-return-any --warn-unused-ignores --ignore-missing-imports --disallow-untyped-defs --check-untyped-defs tests
uv run env PYTHONPATH=src python3 -m mypy --warn-return-any --warn-unused-ignores --ignore-missing-imports --disallow-untyped-defs --check-untyped-defs a_maze_ing.py
lint-strict:
lint-strict: install
uv run flake8 . --exclude=.venv
uv run env PYTHONPATH=src python3 -m mypy --strict -p mazegen
uv run env PYTHONPATH=src python3 -m mypy --strict src/AMazeIng.py
Binary file not shown.
+4 -2
View File
@@ -296,7 +296,8 @@ class Kruskal(MazeGenerator):
cells_ft = self.get_cell_ft(width, height)
if cells_ft and (self.start in cells_ft or self.end in cells_ft):
print(
"Forty two will not be display. Entry or exit set in the ft logo"
"Forty two will not be display. "
"Entry or exit set in the ft logo"
)
cells_ft = None
@@ -384,7 +385,8 @@ class DepthFirstSearch(MazeGenerator):
visited = self.lock_cell_ft(visited, self.forty_two)
else:
print(
"Forty two will not be display. Entry or exit set in the ft logo"
"Forty two will not be display. "
"Entry or exit set in the ft logo"
)
path: list[tuple[int, int]] = list()
w_h = (width, height)
-1
View File
@@ -1,4 +1,3 @@
from os.path import split
from mazegen import DepthFirstSearch, Kruskal
from mazegen import AStar, DepthFirstSearchSolver
from typing import Any