[mypy] Add missing type annotation in conways_game_of_life.py (#5490)

This commit is contained in:
Erwin Junge 2021-10-22 06:14:45 +02:00 committed by GitHub
parent 57a7e5738b
commit 83a63d9c22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@ def new_generation(cells: list[list[int]]) -> list[list[int]]:
return next_generation
def generate_images(cells: list[list[int]], frames) -> list[Image.Image]:
def generate_images(cells: list[list[int]], frames: int) -> list[Image.Image]:
"""
Generates a list of images of subsequent Game of Life states.
"""