🔍 mypy: Make cli.process() typed so mypy checks it (and issues no warning)

pull/111/head
Mike Gerber 12 months ago
parent 788868b2ac
commit ac9d360dcd

@ -105,14 +105,14 @@ def json_float(value):
def process(
gt,
ocr,
report_prefix,
reports_folder=".",
gt: str,
ocr: str,
report_prefix: str,
reports_folder: str = ".",
*,
metrics=True,
differences=False,
textequiv_level="region",
metrics: bool = True,
differences: bool = False,
textequiv_level: str = "region",
):
"""Check OCR result against GT.

Loading…
Cancel
Save