]> Untitled Git - axy/ft/a-maze-ing.git/commitdiff
lint
authorAxy <gilliardmarthey.axel@gmail.com>
Tue, 17 Mar 2026 01:49:41 +0000 (02:49 +0100)
committerAxy <gilliardmarthey.axel@gmail.com>
Tue, 17 Mar 2026 01:49:41 +0000 (02:49 +0100)
__main__.py
amazeing/maze_make_pacman.py
amazeing/utils/randset.py

index 5619b5e2c6e5359dfe46a3c673e331c6d8e79e62..b48929089682237d17242e4a6e306db421879736 100644 (file)
@@ -1,4 +1,3 @@
-from sys import stderr
 import time
 from amazeing import (
     Maze,
index dc4de9dc8253136fa9291e959a313a37365023ab..fd754a8d6f946f925349d5994c40fd0b7660672c 100644 (file)
@@ -1,4 +1,3 @@
-from sys import stderr
 from typing import Callable
 from amazeing import Maze, WallCoord
 import random
index 2961af279213c872d96d74a49ef3c76eb16dcd27..62ab2f596fe86294cf7783cd626ba8ff615cb235 100644 (file)
@@ -45,8 +45,10 @@ class Randset[T](MutableSequence[T], MutableSet[T]):
 
     @overload
     def __delitem__(self, pos: int) -> None: ...
+
     @overload
     def __delitem__(self, pos: slice) -> None: ...
+
     def __delitem__(self, pos: int | slice) -> None:
         if isinstance(pos, int):
             self.discard(self.__elems[pos])