Skip to content

Commit

Permalink
[mypy] Fix type annotations for cellular_automata (TheAlgorithms#4236)
Browse files Browse the repository at this point in the history
* [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>
  • Loading branch information
noviicee and cclauss authored Mar 20, 2021
1 parent dd757dc commit 2c6f553
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cellular_automata/conways_game_of_life.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from typing import List

from PIL import Image # type: ignore
from PIL import Image

# Define glider example
GLIDER = [
Expand Down
2 changes: 1 addition & 1 deletion cellular_automata/one_dimensional.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from __future__ import annotations

from PIL import Image # type: ignore
from PIL import Image

# Define the first generation of cells
# fmt: off
Expand Down

0 comments on commit 2c6f553

Please sign in to comment.