1
0
Fork 0
mirror of https://github.com/qurator-spk/dinglehopper.git synced 2025-07-01 22:50:08 +02:00

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

This commit is contained in:
Mike Gerber 2024-01-08 19:04:36 +01:00
parent 788868b2ac
commit ac9d360dcd

View file

@ -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.