mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-27 15:01:08 +00: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 PIL import Image
|
||||
from PIL import Image # type: ignore
|
||||
|
||||
# Define glider example
|
||||
GLIDER = [
|
||||
|
|
|
@ -6,7 +6,7 @@ https://mathworld.wolfram.com/ElementaryCellularAutomaton.html
|
|||
|
||||
from __future__ import annotations
|
||||
|
||||
from PIL import Image
|
||||
from PIL import Image # type: ignore
|
||||
|
||||
# Define the first generation of cells
|
||||
# fmt: off
|
||||
|
|
Loading…
Reference in New Issue
Block a user