1
0
Fork 0
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:
Sadra Barikbin 2024-01-06 23:25:14 +03:30
commit 754d563c8f
5 changed files with 4 additions and 8 deletions

View file

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

View file

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

View file

@ -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"]

View file

@ -1,4 +1,5 @@
import unicodedata
from typing import List
from multimethod import multimethod
from rapidfuzz.distance import Levenshtein

View file

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