mirror of
https://github.com/qurator-spk/dinglehopper.git
synced 2025-07-01 14:40:00 +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(
|
||||
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…
Add table
Add a link
Reference in a new issue