Skip to content

Commit 3287919

Browse files
algobytewiseshermanhui
authored andcommitted
[mypy] Add/fix type annotations for "conways_game_of_life.py" & "one_dimensional.py" (TheAlgorithms#4216)
Related Issue: TheAlgorithms#4052
1 parent ae0a9f5 commit 3287919

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: cellular_automata/conways_game_of_life.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from typing import List
99

10-
from PIL import Image
10+
from PIL import Image # type: ignore
1111

1212
# Define glider example
1313
GLIDER = [

Diff for: cellular_automata/one_dimensional.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
from __future__ import annotations
88

9-
from PIL import Image
9+
from PIL import Image # type: ignore
1010

1111
# Define the first generation of cells
1212
# fmt: off

0 commit comments

Comments
 (0)