-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (68 loc) · 1.4 KB
/
pyproject.toml
File metadata and controls
76 lines (68 loc) · 1.4 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
[build-system]
requires = ["setuptools>=82.0.1"]
build-backend = "setuptools.build_meta"
[project]
name = "AugmentedQuill"
version = "0.1.0"
description = "Web GUI for LLM assisted prose writing"
readme = "README.md"
requires-python = ">=3.12"
authors = [
{name = "StableLlamaAI"},
]
dependencies = [
"fastapi>=0.135.3",
"uvicorn[standard]>=0.44.0",
"pydantic>=2.12.5",
"jinja2>=3.1",
"httpx>=0.27",
"python-multipart>=0.0.26",
"jsonschema>=4.26.0",
"EbookLib>=0.18",
"beautifulsoup4>=4.12",
"ddgs>=9.5",
"Markdown>=3.6",
"jellyfish>=0.11",
]
[project.optional-dependencies]
dev = [
"pytest>=9.0.3",
"ruff",
"black>=26.3.1",
"requests>=2.33.0",
"pre-commit",
]
[project.scripts]
augmentedquill = "augmentedquill.main:main"
[tool.setuptools.packages.find]
where = ["src"]
include = ["augmentedquill*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
python_files = "test_*.py"
python_classes = "Test*"
python_functions = "test_*"
[tool.ruff]
line-length = 88
target-version = "py312"
[tool.ruff.lint]
ignore = ["E501", "S101", "S104", "COM812", "ISC001"]
per-file-ignores = {"tests/**/*" = ["S101", "ARG", "FBT", "PLR2004"]}
[tool.black]
line-length = 88
target-version = ['py312']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''