mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-23 21:11:08 +00:00
[mypy] Fix type annotations for cellular_automata (#4236)
* [mypy] Fix type annotations for cellullar_automata * mypy --ignore-missing-imports * mypy --ignore-missing-imports * Blank lines * Blank lines Co-authored-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
parent
dd757dce38
commit
2c6f553ccb
|
@ -7,7 +7,7 @@ from __future__ import annotations
|
||||||
|
|
||||||
from typing import List
|
from typing import List
|
||||||
|
|
||||||
from PIL import Image # type: ignore
|
from PIL import Image
|
||||||
|
|
||||||
# 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 # type: ignore
|
from PIL import Image
|
||||||
|
|
||||||
# Define the first generation of cells
|
# Define the first generation of cells
|
||||||
# fmt: off
|
# fmt: off
|
||||||
|
|
Loading…
Reference in New Issue
Block a user