-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (67 loc) · 1.86 KB
/
pyproject.toml
File metadata and controls
77 lines (67 loc) · 1.86 KB
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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "llama-stack-provider-trustyai-fms"
version = "0.2.1"
description = "Remote safety provider for Llama Stack integrating FMS Guardrails Orchestrator and community detectors"
authors = [
{name = "GitHub: m-misiura"}
]
maintainers = [
{name = "GitHub: m-misiura"}
]
readme = "README.md"
requires-python = ">=3.12"
license = "Apache-2.0"
dependencies = [
"llama-stack>=0.2.14",
"fastapi",
"opentelemetry-api",
"opentelemetry-exporter-otlp",
"aiosqlite",
"uvicorn",
"ipykernel",
"httpx",
]
[project.optional-dependencies]
dev = ["pre-commit", "ruff"]
test = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-httpx>=0.21.0",
"pytest-mock>=3.10.0",
]
[tool.ruff]
target-version = "py312"
line-length = 88
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[project.urls]
Homepage = "https://github.com/trustyai-explainability/llama-stack-provider-trustyai-fms"
"Maintainer GitHub" = "https://github.com/m-misiura"
[tool.setuptools.packages.find]
where = ["."]
include = ["llama_stack_provider_trustyai_fms*"]
[project.entry-points."llama_stack.providers.remote.safety"]
trustyai_fms = "llama_stack_provider_trustyai_fms.provider:get_provider_spec"
[project.entry-points."llama_stack.providers.remote.shields"]
trustyai_fms = "llama_stack_provider_trustyai_fms.provider:get_shields_provider_spec"