-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
80 lines (72 loc) · 1.92 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project]
name = "llmwhisperer-client"
dynamic = ["version"]
description = "Client library for LLM Whisperer"
dependencies = [
"requests>=2",
]
readme = "README.md"
urls = { Homepage = "https://unstract.com/llmwhisperer/", Source = "https://github.com/Zipstack/llm-whisperer-python-client" }
license = {text = "AGPL v3"}
authors = [
{name = "Zipstack Inc", email = "[email protected]"},
]
keywords = ["llmwhisperer tools-development-kit apps development-kit sdk"]
requires-python = ">=3.8.1"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[tool.pdm.dev-dependencies]
test = [
"pytest>=8.2.2",
"pytest-mock>=3.14.0",
"pytest-dotenv>=0.5.2",
"pytest-cov>=5.0.0",
"pytest-md-report>=0.6.2",
]
lint = [
"autopep8~=2.0.2",
"black~=23.3.0",
"docutils~=0.20.1",
"flake8~=6.0.0",
"flake8-pyproject~=1.2.2",
"isort~=5.12.0",
"pre-commit~=3.3.1",
"yamllint>=1.35.1",
"mypy~=1.10.0"
]
[tool.pdm.version]
source = "file"
path = "src/unstract/llmwhisperer/__init__.py"
[tool.isort]
line_length = 120
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
profile = "black"
[tool.flake8]
max-line-length = 120
[tool.pdm.build]
includes = ["src"]
package-dir = "src"
[tool.pytest.ini_options]
env_files = [".env"]
addopts = "-s"
log_level = "INFO"
log_cli = true
[tool.pdm.scripts]
test.cmd = "pytest -s -v"
test.env_file = "tests/.env"
test.help = "Runs pytests for LLM Whisperer client"