Add Typing

Co-authored-by: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
This commit is contained in:
Joey de l'Arago 2022-01-31 12:29:49 +00:00 committed by GitHub
parent 7dd4a3b8bd
commit 8f58c786bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ def process_obj(input_file: str, output_file: str) -> None:
os.remove("temp")
def trim_lines(in_obj, out_obj):
def trim_lines(in_obj: TextIO, out_obj: TextIO) -> None:
for line in in_obj:
line = trim_line(line)
if line: