Reformat code with upgraded version of black (#3446)

This commit is contained in:
zhexu14
2024-10-05 07:19:39 +10:00
committed by GitHub
parent b008305275
commit 0e9a8ac1a1
58 changed files with 121 additions and 161 deletions

View File

@@ -9,9 +9,7 @@ if TYPE_CHECKING:
class ILaserCodeRegistry(ABC):
@abstractmethod
def alloc_laser_code(self) -> LaserCode:
...
def alloc_laser_code(self) -> LaserCode: ...
@abstractmethod
def release_code(self, code: LaserCode) -> None:
...
def release_code(self, code: LaserCode) -> None: ...