-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
41 lines (35 loc) · 1.07 KB
/
Copy pathpyproject.toml
File metadata and controls
41 lines (35 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[project]
name = "mathocr"
version = "0.1.0"
description = "PaddleOCR-VL document parsing platform (Robyn web server)"
requires-python = ">=3.13,<3.14"
dependencies = [
"pillow>=10.0",
"robyn>=0.63",
"python-docx>=1.1",
"PyMuPDF>=1.24",
]
[tool.uv]
# PaddlePaddle and PaddleOCR must be installed from custom indexes
# See start.sh for the full install commands (paddlepaddle has no cp314 wheel,
# so Python is pinned to 3.13 until paddle ships cp314).
index-url = "https://pypi.org/simple/"
# Dev-only tools. Run via `uvx ruff ...` / `uvx ty ...` — never `uv sync` or
# `uv add` (both would remove the undeclared paddlepaddle from .venv).
[dependency-groups]
dev = [
"ruff>=0.16",
"ty>=0.0.65",
]
[tool.ruff]
target-version = "py313"
line-length = 100
exclude = ["backup", "batches", "testset", ".venv"]
[tool.ruff.lint]
# DTZ005: timestamps are local-time by design (single-machine local tool).
ignore = ["DTZ005"]
[tool.ty.src]
include = ["app", "server.py", "tests"]
exclude = ["backup", "batches", "testset"]
[tool.ty.environment]
python-version = "3.13"