run ruff in CI
All checks were successful
CI/CD / build (push) Successful in 9m20s

This commit is contained in:
2024-11-28 20:23:54 +01:00
parent f5308f06ab
commit 36a31f1a06
10 changed files with 164 additions and 90 deletions

View File

@@ -1,22 +1,21 @@
class Cell:
MIN_NEIGHBORS = 1
MAX_NEIGHBORS = 4
def __init__(self) -> None:
self.neighbors = []
def add_neightbor(self, new_neighbor: 'Cell'):
def add_neightbor(self, new_neighbor: "Cell"):
self.neighbors.append(new_neighbor)
def __str__(self) -> str:
return "o"
class StatSphere(Cell):
class StatSphere(Cell):
pass
class StrengthSphere(StatSphere):
def __init__(self) -> None:
super().__init__()