mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
[mypy] Add/fix type annotations for "conways_game_of_life.py" & "one_dimensional.py" (#4216)
Related Issue: #4052
This commit is contained in:
parent
81c46dfd55
commit
2a6e4bbdb6
@ -7,7 +7,7 @@ from __future__ import annotations
|
|||||||
|
|
||||||
from typing import List
|
from typing import List
|
||||||
|
|
||||||
from PIL import Image
|
from PIL import Image # type: ignore
|
||||||
|
|
||||||
# Define glider example
|
# Define glider example
|
||||||
GLIDER = [
|
GLIDER = [
|
||||||
|
@ -6,7 +6,7 @@ https://mathworld.wolfram.com/ElementaryCellularAutomaton.html
|
|||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
from PIL import Image
|
from PIL import Image # type: ignore
|
||||||
|
|
||||||
# Define the first generation of cells
|
# Define the first generation of cells
|
||||||
# fmt: off
|
# fmt: off
|
||||||
|
Loading…
x
Reference in New Issue
Block a user