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

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

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

Loading…
Cancel
Save