diff --git a/Makefile b/Makefile index 83eaeb4..5f68431 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/mazegen-1.0.0-py3-none-any.whl b/mazegen-1.0.0-py3-none-any.whl deleted file mode 100644 index 2bb716d..0000000 Binary files a/mazegen-1.0.0-py3-none-any.whl and /dev/null differ diff --git a/src/mazegen/MazeGenerator.py b/src/mazegen/MazeGenerator.py index 47da9e7..b211e1f 100644 --- a/src/mazegen/MazeGenerator.py +++ b/src/mazegen/MazeGenerator.py @@ -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) diff --git a/src/parsing/Parsing.py b/src/parsing/Parsing.py index 8814b41..15c1a21 100644 --- a/src/parsing/Parsing.py +++ b/src/parsing/Parsing.py @@ -1,4 +1,3 @@ -from os.path import split from mazegen import DepthFirstSearch, Kruskal from mazegen import AStar, DepthFirstSearchSolver from typing import Any