mirror of
https://github.com/qurator-spk/dinglehopper.git
synced 2025-06-30 22:19:57 +02:00
Merge remote-tracking branch 'refs/remotes/origin/master'
This commit is contained in:
commit
754d563c8f
5 changed files with 4 additions and 8 deletions
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
|
@ -40,11 +40,6 @@ jobs:
|
|||
|
||||
- name: Update pip
|
||||
run: python3 -m pip install -U pip
|
||||
- name: Avoid compiling OpenCV and NumPy on Python 3.6
|
||||
run: |
|
||||
if python3 --version | grep -q "Python 3.6"; then
|
||||
pip install --prefer-binary -U opencv-python-headless numpy
|
||||
fi
|
||||
- name: Install requirements*.txt
|
||||
run: |
|
||||
for requirements_txt in requirements*.txt; do
|
||||
|
|
|
@ -16,7 +16,7 @@ repos:
|
|||
- id: black
|
||||
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.1.10
|
||||
rev: v0.1.11
|
||||
hooks:
|
||||
- args:
|
||||
- --fix
|
||||
|
|
|
@ -9,7 +9,7 @@ authors = [
|
|||
]
|
||||
description = "The OCR evaluation tool"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.6"
|
||||
requires-python = ">=3.8"
|
||||
keywords = ["qurator", "ocr", "evaluation", "ocr-d"]
|
||||
|
||||
dynamic = ["version", "dependencies", "optional-dependencies"]
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import unicodedata
|
||||
from typing import List
|
||||
|
||||
from multimethod import multimethod
|
||||
from rapidfuzz.distance import Levenshtein
|
||||
|
|
|
@ -4,7 +4,7 @@ import re
|
|||
import unicodedata
|
||||
from contextlib import suppress
|
||||
from itertools import repeat
|
||||
from typing import Optional, List
|
||||
from typing import List, Optional
|
||||
|
||||
import attr
|
||||
import numpy as np
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue