From 7dd4a3b8bd0968564dfc173e31b3d4638850f292 Mon Sep 17 00:00:00 2001 From: Joey de l'Arago Date: Mon, 31 Jan 2022 12:29:39 +0000 Subject: Add typing Co-authored-by: Ghostkeeper --- scripts/obj_trimmer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/obj_trimmer.py b/scripts/obj_trimmer.py index 02d3351526..570ff69273 100644 --- a/scripts/obj_trimmer.py +++ b/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) -- cgit v1.2.3