Add typing

Co-authored-by: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
This commit is contained in:
Joey de l'Arago 2022-01-31 12:29:39 +00:00 committed by GitHub
parent 7479aafe13
commit 7dd4a3b8bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ from typing import Optional, List
Removes any rows that are not a face, vertex or vertex texture
"""
def process_obj(input_file, output_file):
def process_obj(input_file: str, output_file: str) -> None:
with open(input_file, "r") as in_obj, open("temp", "w") as temp:
trim_lines(in_obj, temp)