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:
parent
788868b2ac
commit
ac9d360dcd
1 changed files with 7 additions and 7 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue