-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (65 loc) · 1.67 KB
/
pyproject.toml
File metadata and controls
73 lines (65 loc) · 1.67 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "writing-agent"
version = "0.1.0"
description = "Writing Agent for report drafting, citation-aware generation, and document export."
readme = "README.md"
requires-python = ">=3.10"
license = { file = "LICENSE" }
keywords = ["writing", "rag", "fastapi", "docx", "agent"]
authors = [
{ name = "writing-agent contributors" }
]
dependencies = [
"fastapi>=0.109",
"uvicorn>=0.24",
"jinja2>=3.1",
"python-multipart>=0.0.7",
"python-docx>=1.1.0",
"cairosvg>=2.8.2",
"playwright>=1.57.0",
"rapidocr-onnxruntime>=1.4.4",
"PySide6>=6.6",
"pypdf>=6.6.0",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Framework :: FastAPI",
"Topic :: Software Development :: Libraries :: Application Frameworks",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4",
"pip-audit>=2.8",
"aiosmtpd>=1.4.5",
"ruff>=0.11.0",
"vulture>=2.14",
]
[project.scripts]
writing-agent = "writing_agent.launch:main"
[tool.setuptools.packages.find]
include = ["writing_agent*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra"
[tool.ruff]
line-length = 120
target-version = "py310"
extend-exclude = [
"writing_agent/web/frontend_svelte",
"writing_agent/web/static",
"writing_agent/web/app_v2.py",
"writing_agent/web/app_v2_*.py",
"scripts/release_preflight_runtime.py",
]
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP"]
ignore = ["E501"]
[tool.ruff.lint.isort]
combine-as-imports = true