Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (94 loc) · 1.83 KB
/
Copy pathpyproject.toml
File metadata and controls
106 lines (94 loc) · 1.83 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
105
106
[build-system]
requires = ["hatchling >= 1.26, < 1.32"]
build-backend = "hatchling.build"
[project]
name = "avise"
version = "0.2.7"
authors = [
{ name = "Mikko Lempinen", email="mikko.lempinen@oulu.fi" },
{ name = "Joni Kemppainen" },
{ name = "Niklas Raesalmi" }
]
license = "MIT"
license-files = ["LICENSE"]
description = "AI Vulnerability Identification & Security Evaluation framework"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"triton-windows ; platform_system == 'Windows'",
"ollama>=0.3.0",
"openai>=1.0.0",
"pyyaml>=6.0",
"numpy>=2.3.5",
"requests>=2.32.5",
"torch>=2.10.0",
"transformers>=5.2.0,<=5.7.0",
"accelerate>=1.12.0",
"mistral_common>=1.11.0",
"openpyxl>=3.1.5",
"pandas>=3.0.2",
"pyarrow>=24.0.0"
]
[project.optional-dependencies]
unit-tests = [
"pytest>=9.0.2"
]
docs = [
"sphinx",
"sphinx-rtd-theme",
"sphinx-github-style"
]
[project.scripts]
avise = "avise.__main__:main"
[tool.hatch.build]
exclude = [
"/docs",
"/unit-tests",
"/reports",
"/docker"
]
[tool.pytest.ini_options]
pythonpath = [
"."
]
testpaths = ["unit-tests"]
[tool.ruff]
exclude = [
"unit-tests",
"docs",
"docker",
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
"__init__.py",
]
[tool.ruff.lint]
select = ["D"]
ignore = ["D102", "D107", "D205", "D415", "D417"]
[tool.ruff.lint.pydocstyle]
convention = "google"
ignore-decorators = ["typing.overload"]
ignore-var-parameters = true