mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 14:44:13 -06:00
Add typing
Co-authored-by: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
This commit is contained in:
parent
7479aafe13
commit
7dd4a3b8bd
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ from typing import Optional, List
|
||||||
Removes any rows that are not a face, vertex or vertex texture
|
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:
|
with open(input_file, "r") as in_obj, open("temp", "w") as temp:
|
||||||
trim_lines(in_obj, temp)
|
trim_lines(in_obj, temp)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue