Skip to content

Commit 06fb410

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 9289b51 commit 06fb410

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: cellular_automata/wa_tor.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,7 @@ def __init__(self, width: int, height: int) -> None:
120120
self.height = height
121121
self.time_passed = None
122122

123-
self.planet: list[list[Entity | None]] = [
124-
[None] * width for _ in range(height)
125-
]
123+
self.planet: list[list[Entity | None]] = [[None] * width for _ in range(height)]
126124

127125
# Populate planet with predators and prey randomly
128126
for _ in range(PREY_INITIAL_COUNT):

0 commit comments

Comments
 (0)