~
CI / Lint, Typecheck & Test (push) Failing after 1m17s

This commit is contained in:
2026-07-04 09:41:42 +08:00
parent 4d397606e6
commit f63db6c71a
3 changed files with 0 additions and 5 deletions
-3
View File
@@ -25,8 +25,5 @@ jobs:
- name: Ruff check
run: ruff check src tests
- name: Pyrefly check
run: pyrefly check src tests
- name: Tox test (py38, py313)
run: uvx tox run -e py38,py313
-1
View File
@@ -159,4 +159,3 @@ select = [
preset = "strict"
project-includes = ["**/*.ipynb", "**/*.py*"]
python-version = "3.8"
unused-ignore = false
-1
View File
@@ -286,7 +286,6 @@ def pdf_ocr(input_path: Path, output_path: Path, lang: str = "chi_sim+eng") -> N
new_page = new_doc.new_page(width=page.rect.width, height=page.rect.height)
new_page.insert_image(new_page.rect, pixmap=pix)
text_rect = fitz.Rect(0, 0, page.rect.width, page.rect.height)
# pyrefly: ignore [bad-argument-type]
new_page.insert_textbox(text_rect, ocr_text)
output_path.parent.mkdir(parents=True, exist_ok=True)