mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 05:05:53 +08:00
Add typing
Co-authored-by: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
This commit is contained in:
parent
7479aafe13
commit
7dd4a3b8bd
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user