-
Notifications
You must be signed in to change notification settings - Fork 39
/
pyproject.toml
89 lines (76 loc) · 1.9 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "openinference-instrumentation-guardrails"
dynamic = ["version"]
description = "OpenInference Guardrails Instrumentation"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.9, <3.13"
authors = [
{ name = "OpenInference Authors", email = "[email protected]" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opentelemetry-api",
"opentelemetry-instrumentation",
"opentelemetry-semantic-conventions",
"openinference-instrumentation>=0.1.17",
"openinference-semantic-conventions",
"wrapt",
"typing-extensions",
"packaging",
]
[project.optional-dependencies]
instruments = [
"guardrails-ai",
]
[project.urls]
Homepage = "https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-guardrails"
[tool.hatch.version]
path = "src/openinference/instrumentation/guardrails/version.py"
[tool.hatch.build.targets.sdist]
include = [
"/src",
]
[tool.hatch.build.targets.wheel]
packages = ["src/openinference"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = [
"tests",
]
[tool.mypy]
strict = true
explicit_package_bases = true
exclude = [
"examples",
"dist",
"sdist",
]
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = [
"guardrails",
"wrapt",
]
[tool.ruff]
line-length = 100
target-version = "py38"
[tool.ruff.lint.per-file-ignores]
"*.ipynb" = ["E402", "E501"]
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
[tool.ruff.lint.isort]
force-single-line = false