-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpyproject.toml
141 lines (130 loc) · 3.66 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
[project]
name = "vellum-ai"
[tool.poetry]
name = "vellum-ai"
version = "0.14.47"
description = ""
readme = "README.md"
authors = []
keywords = []
license = "MIT"
classifiers = [
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"Operating System :: POSIX",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
"License :: OSI Approved :: MIT License"
]
urls = { Repository = "https://github.com/vellum-ai/vellum-python-sdks" }
packages = [
{ include = "vellum", from = "src" },
{ include = "vellum_cli", from = "ee" },
{ include = "vellum_ee", from = "ee" },
]
[tool.poetry.dependencies]
python = "^3.9"
Jinja2 = "^3.1.2"
cdktf = "^0.20.5"
click = "8.1.7"
docker = "7.1.0"
httpx = ">=0.21.2"
openai = ">= 1.0.0"
orderly-set = "^5.2.2"
publication = "0.0.3"
pydantic = ">= 1.9.2"
pydantic-core = "^2.18.2"
pydash = "7.0.6"
python-dotenv = "1.0.1"
pytz = "2025.1"
pyyaml = "6.0.2"
requests = "2.32.3"
tomli = "2.0.2"
typing_extensions = ">= 4.0.0"
[tool.poetry.dev-dependencies]
mypy = "1.11.1"
pytest = "^7.4.0"
pytest-asyncio = "^0.23.5"
python-dateutil = "^2.9.0"
types-python-dateutil = "^2.9.0.20240316"
black = "24.8.0"
deepdiff = "8.0.1"
flake8 = "7.1.1"
flake8-breakpoint = "1.1.0"
flake8-isort = "6.1.1"
flake8-print = "5.0.0"
flake8-pyproject = "1.2.3"
ipdb = "0.13.13"
ipython = "8.12.3"
isort = "5.13.2"
pre-commit = "3.5.0"
pytest-mock = "3.10.0"
pytest-timeout = "2.3.1"
requests-mock = "1.11.0"
ruff = "^0.5.6"
tomli_w = "1.1.0"
types-PyYAML = "6.0.12.20240808"
types-pytz = "2024.1.0.20240417"
types-requests = "2.32.0.20240712"
[tool.pytest.ini_options]
testpaths = [ "tests" ]
asyncio_mode = "auto"
filterwarnings = [
"ignore::pytest.PytestCollectionWarning"
]
[tool.mypy]
plugins = [
"pydantic.mypy",
"vellum.plugins.vellum_mypy",
]
check_untyped_defs = true
exclude = "venv"
overrides = [
{ module = "deepdiff.*", ignore_missing_imports = true },
{ module = "docker.*", ignore_missing_imports = true },
{ module = "setuptools.*", ignore_missing_imports = true },
]
[tool.ruff]
line-length = 120
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
vellum = "vellum_cli:main"
[tool.isort]
skip = ["src/vellum/client", "tests/client", ".venv", "src/vellum/__init__.py"]
multi_line_output = 3
force_grid_wrap = 0
line_length = 120
combine_as_imports = true
force_sort_within_sections = true
include_trailing_comma = true
use_parentheses = true
known_testing = "pytest"
known_typing = ["typing", "typing_extensions"]
known_vellum = ["vellum", "vellum_cli", "vellum_ee"]
default_section = "THIRDPARTY"
sections = ["FUTURE", "TESTING", "STDLIB", "TYPING", "THIRDPARTY", "VELLUM", "FIRSTPARTY", "LOCALFOLDER"]
no_lines_before = ["STDLIB", "TYPING"]
sort_order = "native"
[tool.black]
line-length = 120
target-version = [
"py38",
]
include = ".*\\.py$"
exclude = "(.git|venv|src/vellum/client|tests/client|scripts)"
[tool.flake8]
max-line-length = 120
exclude = ".git,.venv,ee/codegen/node_modules,ee/codegen_integration/fixtures,scripts,src/vellum/__init__.py,src/vellum/client,src/vellum/core,src/vellum/environment.py,src/vellum/errors,src/vellum/resources,src/vellum/types,tests/client"
ignore = "E203, W503, E704"