-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
80 lines (72 loc) · 1.88 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
[project]
name = "unstract-client"
dynamic = ["version"]
description = "Python client for the Unstract LLM-powered structured data extraction platform"
authors = [
{name = "Zipstack Inc", email = "[email protected]"},
]
dependencies = [
"requests>=2.32.3",
]
requires-python = ">=3.11"
readme = "README.md"
urls = { Homepage = "https://unstract.com", Source = "https://github.com/Zipstack/unstract-python-client" }
license = {text = "MIT"}
keywords = ["unstract cli apps sdk"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"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/api_deployments/__init__.py"
[tool.isort]
line_length = 88
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 = 88
[tool.pdm.build]
includes = ["src"]
package-dir = "src"
[tool.pytest.ini_options]
env_files = ["tests/.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 Unstract client"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"