-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (92 loc) · 2.37 KB
/
pyproject.toml
File metadata and controls
98 lines (92 loc) · 2.37 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[project]
name = "tvir"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"miroflow-tools>=0.1.0",
"huggingface-hub>=0.28.0",
"requests>=2.32.3",
"rich>=13.9.4",
"jinja2>=3.1.4",
"pillow>=11.0.0",
"markdownify>=0.14.1",
"duckduckgo-search>=6.3.7",
"python-dotenv",
"pdfminer-six",
"python-pptx",
"puremagic",
"pydub",
"SpeechRecognition",
"youtube_transcript_api",
"mcp",
"fastmcp",
"anthropic",
"e2b-code-interpreter==1.2.1",
"jsonlines>=4.0.0",
"mammoth>=1.9.0",
"numpy>=2.2.5",
"ipdb>=0.13.13",
"datasets>=3.5.0",
"openpyxl>=3.1.5",
"markitdown-mcp>=0.0.1a3",
"markitdown>=0.1.1",
"regex>=2024.11.6",
"openai>=1.78.1",
"tenacity>=9.1.2",
"transformers>=4.51.3",
"omegaconf>=2.3.0",
"wikipedia",
"mutagen",
"hydra-core",
"google-genai",
"tiktoken>=0.9.0",
"aiohttp",
"colorama>=0.4.6",
"json-repair>=0.49.0",
"tencentcloud-sdk-python>=3.0.1451",
"opencv-python>=4.8.0",
"imagehash>=4.3.1"
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src"]
[tool.uv.sources]
miroflow-tools = { path = "./libs/miroflow-tools", editable = true }
[dependency-groups]
dev = [
"inline-snapshot>=0.23.2",
"pyright>=1.1.403",
"pytest>=8.4.1",
"pytest-asyncio>=1.0.0",
"pytest-cov>=6.2.1",
"pytest-html>=4.1.1",
"pytest-xdist>=3.7.0",
"ty>=0.0.1a14",
]
[tool.pytest.ini_options]
# see https://docs.pytest.org/en/stable/reference/customize.html#pyproject-toml
minversion = "8.3.5"
testpaths = ["tests"]
# make warning go away
# https://github.com/pytest-dev/pytest-asyncio/issues/924#issuecomment-2321921915
asyncio_default_fixture_loop_scope = "function"
addopts = [
# summary for failed AND passed tests
"-rA",
# only show stderr for test. stdlog can contain sensitive information
"--show-capture=stderr",
# use `pytest-xdist` to run tests in parallel
"-n=auto",
# use `pytest-html` to generate test report in html format
"--html=report.html",
"--self-contained-html",
# use `pytest-testmon` to run tests on changed files only
# "--testmon",
# use `pytest-cov` to generate test coverage report
"--cov=tvir",
"--cov-report=html",
]