-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (44 loc) · 1.53 KB
/
Copy pathpyproject.toml
File metadata and controls
53 lines (44 loc) · 1.53 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "prathamesh-agent-redteam"
version = "0.1.0"
description = "Adversarial testing and runtime guardrails for LLM agents: an attack library, an evidence-backed scoring harness with regression suites, and composable defense middleware."
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.11"
authors = [{ name = "prathamesh-git9" }]
keywords = ["llm", "security", "red-team", "prompt-injection", "guardrails", "ai-safety"]
dependencies = [
"httpx>=0.27",
"pydantic>=2.6",
"typer>=0.12",
"rich>=13.7",
"pyyaml>=6.0",
]
[project.optional-dependencies]
server = ["fastapi>=0.110", "uvicorn[standard]>=0.29"]
mcp = ["mcp>=1.2"]
llm = ["openai>=1.40"]
dev = ["pytest>=8.0", "pytest-asyncio>=0.23", "pytest-cov>=5.0", "ruff>=0.4"]
[project.scripts]
agent-redteam = "agent_redteam.cli:app"
[project.urls]
Homepage = "https://github.com/prathamesh-git9/agent-redteam"
Issues = "https://github.com/prathamesh-git9/agent-redteam/issues"
[tool.hatch.build.targets.wheel]
packages = ["src/agent_redteam"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
# -p no:cacheprovider: the .pytest_cache dir is not always writable on all
# volumes (e.g. some Windows drives) and the cache is not needed in CI.
addopts = "-q -p no:cacheprovider"
[tool.ruff]
line-length = 90
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
[tool.ruff.lint.flake8-bugbear]
extend-immutable-calls = ["typer.Option", "typer.Argument"]