Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey de l'Arago <joeydelarago@gmail.com>2022-01-31 15:29:39 +0300
committerGitHub <noreply@github.com>2022-01-31 15:29:39 +0300
commit7dd4a3b8bd0968564dfc173e31b3d4638850f292 (patch)
tree34f4f7f175ef2c05d45462dec10a3387476a8956 /scripts
parent7479aafe13427905188b6893572bb0a5374384a5 (diff)
Add typing
Co-authored-by: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/obj_trimmer.py2
1 files changed, 1 insertions, 1 deletions
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)