-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
62 lines (55 loc) · 1.31 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[project]
name = "reasonify-headless"
description = "headless implementation for the Reasonify Agent"
license = { text = "MIT" }
dynamic = [ "version" ]
requires-python = ">=3.12"
authors = [ { name = "Muspi Merol", email = "[email protected]" } ]
readme = "README.md"
dependencies = [
"useful-coderunner~=1.0 ; sys_platform != 'emscripten'",
"promplate~=0.3.4.7",
"promptools[validation]~=0.1.3.4",
"promplate-recipes>=0.2.2.1,<0.2.4.0",
"pyyaml~=6.0.1",
"html-text~=0.6.2",
"html2text2~=1.0.0",
"isomorphic-fetch~=0.0.0.0.dev2",
]
[build-system]
requires = [ "pdm-backend" ]
build-backend = "pdm.backend"
[tool.pdm]
build = { package-dir = "reasonify-headless" }
version = { source = "file", path = "reasonify-headless/version.py" }
distribution = true
[dependency-groups]
dev = [
"pre-commit>=3.7.1",
"black>=24.4.2",
"isort>=5.13.2",
"ruff>=0.5.3",
"watchfiles>=0.22.0",
"micropip~=0.8.0",
"webtypy~=0.1.7",
"python-slugify~=8.0.4",
"pyodide-py==0.27.0",
]
[tool.pdm.scripts]
fmt = { composite = [
"ruff check --fix --exit-zero",
"isort .",
"black ."
] }
dev = { cmd = [
"watchfiles",
"pdm build --no-sdist -d static/whl",
"reasonify-headless",
] }
[tool.black]
line-length = 150
[tool.ruff]
line-length = 150
[tool.pyright]
typeCheckingMode = "standard"
reportMissingModuleSource = false