Browse Source

Add typing

Co-authored-by: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
Joey de l'Arago 3 years ago
parent
commit
7dd4a3b8bd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/obj_trimmer.py

+ 1 - 1
scripts/obj_trimmer.py

@@ -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)