-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
50 lines (46 loc) · 1.13 KB
/
pyproject.toml
File metadata and controls
50 lines (46 loc) · 1.13 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
[project]
name = "pdf2md"
version = "0"
requires-python = ">=3.12"
dependencies = [
"diskcache2~=1.0.0",
"fastapi~=0.128.0",
"httptools~=0.7.1",
"msgspec~=0.20.0",
"pdfminer-six[image]>=20240706",
"promplate-recipes~=0.2.3",
"promplate-trace[langfuse,langsmith]~=0.3.0.dev5",
"promplate[openai]~=0.3.4",
"promptools[tokenizer]~=0.1.3.5",
"pymupdf~=1.26.0",
"rich~=14.2.0",
"ruff~=0.14.0",
"uvicorn~=0.40.0",
"uvicorn-hmr[all]~=0.1.0",
"watchfiles~=1.1.0",
]
[tool.ruff]
line-length = 200
[tool.ruff.lint]
extend-select = [
"F", # flake8
"I", # isort
"N", # pep8-naming
"W", # pycodestyle
"UP", # pyupgrade
"TRY", # tryceratops
"RUF", # ruff
"FURB", # refurb
"C4", # flake8-comprehensions
"ARG", # flake8-unused-arguments
"PIE", # flake8-pie
"PTH", # flake8-use-pathlib
"RSE", # flake8-raise
"SIM", # flake8-simplify
"SLF", # flake8-self
]
[tool.m.aliases]
dev = "uvicorn-hmr --refresh"
fmt = { cmd = "ruff format && ruff check --fix --show-fixes", shell = true }
[tool.pyright]
typeCheckingMode = "standard"