-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
40 lines (34 loc) · 1016 Bytes
/
pyproject.toml
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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "texifast"
version = "0.1.3"
description = "LaTeX and markdown OCR powered by texify, without bloated dependencies like torch or transformers."
readme = "README.md"
requires-python = ">=3.9,<=3.12"
authors = [{ name = "Spedon", email = "[email protected]" }]
dependencies = ["numpy>=1.26", "pillow>=10", "tokenizers>=0.20"]
[project.optional-dependencies]
cpu = ["onnxruntime>=1.19.0"]
gpu = ["onnxruntime-gpu>=1.19.0"]
[tool.pytest.ini_options]
pythonpath = "src"
addopts = ["--import-mode=importlib"]
[tool.pyright]
typeCheckingMode = "strict"
reportUnknownMemberType = false
reportAny = false
reportImplicitOverride = false
reportMissingTypeStubs = false
reportUnknownVariableType = false
reportUnknownArgumentType = false
[tool.ruff.lint]
extend-select = ["I", "N", "PERF", "UP"]
[tool.uv]
dev-dependencies = [
"build>=1.2.2.post1",
"huggingface-hub>=0.25.2",
"lazydocs>=0.4.8",
"pytest>=8.3.3",
]