]> Untitled Git - axy/ft/a-maze-ing.git/commitdiff
mypy fix #2 :<
authorAxy <gilliardmarthey.axel@gmail.com>
Tue, 10 Feb 2026 14:40:46 +0000 (15:40 +0100)
committerAxy <gilliardmarthey.axel@gmail.com>
Tue, 10 Feb 2026 14:40:46 +0000 (15:40 +0100)
amazeing/maze_make_pacman.py

index 5794063bfb590ebe1a391b3f3060382a34f25b4a..2d194a5b56702f088402adcb44246f012bafad0c 100644 (file)
@@ -21,7 +21,7 @@ def maze_make_pacman(
                 f(wall, leaf_neighbours)
                 callback(maze)
 
-    def wall_move(wall: WallCoord, leaf_neighbours: list[WallCoord]):
+    def wall_move(wall: WallCoord, leaf_neighbours: list[WallCoord]) -> None:
         maze._remove_wall(wall)
         maze.fill_wall(random.choice(leaf_neighbours))