-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
49 lines (40 loc) · 1.46 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
[project]
name = "partial-json-parser"
version = "0.2.1.1.post4"
description = "Parse partial JSON generated by LLM"
authors = [{ name = "Muspi Merol", email = "[email protected]" }]
optional-dependencies = { playground = ["rich"] }
requires-python = ">=3.7" # 3.6 in production indeed
readme = "README.md"
license = { text = "MIT" }
scripts = { json-playground = "partial_json_parser.playground:main" }
keywords = ["JSON", "parser", "LLM", "nlp"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
]
[project.urls]
repository = "https://github.com/promplate/partial-json-parser"
homepage = "https://promplate.dev/partial-json-parser"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm.build]
excludes = ["tests"]
[tool.pdm.dev-dependencies]
dev = ["hypothesis", "tqdm", "pytest"]
[tool.pdm.scripts]
test-performance = { call = "tests.test_performance:main" }
test-hypotheses = { call = "tests.test_hypotheses:main" }
test-examples = "pytest tests/test_examples.py"
test = { composite = ["test-examples", "test-hypotheses", "test-performance"] }
format = { composite = ["isort ./{args}", "black ./{args}"] }
playground = { call = "partial_json_parser.playground:main" }
pre_build = { composite = ["format", "python src/overrides.py 3.6"] }
post_build = "python src/overrides.py 3.8"
[tool.black]
line-length = 160
[tool.isort]
profile = "black"
[tool.pyright]
reportPossiblyUnboundVariable = false