forked from kelkalot/simpleaudit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
104 lines (92 loc) · 2.48 KB
/
Copy pathpyproject.toml
File metadata and controls
104 lines (92 loc) · 2.48 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
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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "simpleaudit"
version = "0.1.7"
description = "Lightweight AI Safety Auditing Framework"
readme = "README.md"
license = {text = "MIT"}
authors = [
{name = "SimpleAudit Contributors"}
]
keywords = ["ai", "safety", "audit", "red-team", "llm", "rag", "testing"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Testing",
]
requires-python = ">=3.11"
dependencies = [
"any-llm-sdk>=1.9.0",
"tqdm>=4.66.0",
]
[project.scripts]
simpleaudit = "simpleaudit.cli:main"
[project.optional-dependencies]
plot = ["matplotlib>=3.5.0"]
visualize = [
"fastapi>=0.104.0",
"uvicorn[standard]>=0.24.0",
]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.0.0",
"black>=23.0.0",
"ruff>=0.1.0",
]
all = ["simpleaudit[plot,visualize,dev]"]
[project.urls]
Homepage = "https://github.com/kelkalot/simpleaudit"
Documentation = "https://github.com/kelkalot/simpleaudit#readme"
Repository = "https://github.com/kelkalot/simpleaudit"
Issues = "https://github.com/kelkalot/simpleaudit/issues"
PyPI = "https://pypi.org/project/simpleaudit/"
[tool.setuptools.packages.find]
where = ["."]
include = ["simpleaudit*"]
[tool.setuptools.package-data]
simpleaudit = [
"visualization/*.html",
"visualization/*.png",
]
[tool.black]
line-length = 100
target-version = ["py39", "py310", "py311", "py312"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--cov=simpleaudit --cov-report=html --cov-report=term-missing"
asyncio_mode = "auto"
[tool.coverage.run]
source = ["simpleaudit"]
omit = [
"*/tests/*",
"*/__init__.py",
"*/__pycache__/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"class .*\\bProtocol\\):",
"@(abc\\.)?abstractmethod",
]
skip_covered = false
skip_empty = true
[tool.coverage.html]
directory = "htmlcov"
[tool.ruff]
line-length = 100
select = ["E", "F", "W", "I", "N", "UP", "B", "C4"]
ignore = ["E501"]