forked from westonbrown/Cyber-AutoAgent
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
152 lines (138 loc) · 3.91 KB
/
pyproject.toml
File metadata and controls
152 lines (138 loc) · 3.91 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "cyber-autoagent"
version = "0.1.3"
description = "Autonomous cybersecurity agent designed for ethical security assessments"
readme = "README.md"
authors = [
{name = "Cyber-AutoAgent Team", email = "aaron.weston.brown@gmail.com"}
]
license = {text = "MIT"}
keywords = ["cybersecurity", "penetration-testing", "autonomous", "ai-agent", "security-assessment"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Security",
"Topic :: System :: Systems Administration",
"Environment :: Console"
]
requires-python = ">=3.10,<3.14"
dependencies = [
"strands-agents[ollama,otel,litellm]==1.11.0",
"strands-agents-tools==0.2.9",
"mem0ai",
"boto3>=1.39.10",
"botocore>=1.39.10",
"faiss-cpu",
"ollama>=0.1.0",
"requests>=2.25.0",
"opensearch-py",
"opentelemetry-api",
"opentelemetry-sdk",
"opentelemetry-exporter-otlp-proto-http>=1.30.0",
"pyarrow>=14.0.0,<20.0.0",
"ragas>=0.3.0",
"langfuse>=2.0.0",
"langchain-aws>=0.2.0",
"langchain-ollama>=0.2.0"
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"pytest-mock",
"black",
"isort",
"flake8",
"mypy"
]
[project.urls]
Homepage = "https://github.com/cyber-autoagent/cyber-autoagent"
Repository = "https://github.com/cyber-autoagent/cyber-autoagent"
Documentation = "https://github.com/cyber-autoagent/cyber-autoagent#readme"
"Bug Tracker" = "https://github.com/cyber-autoagent/cyber-autoagent/issues"
[project.scripts]
cyber-autoagent = "cyberautoagent:main"
[tool.setuptools.packages.find]
where = ["src"]
include = ["*"]
[tool.setuptools.package-dir]
"" = "src"
[tool.black]
line-length = 120
target-version = ['py310']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.isort]
profile = "black"
line_length = 120
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py", "*_test.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"--strict-markers",
"--strict-config",
"--verbose"
]
pythonpath = ["src"]
[tool.pylint.main]
# Disable specific warnings that are not relevant for this project
disable = [
"too-many-positional-arguments", # R0917 - Common for API functions
"unused-argument", # W0613 - Common for API compatibility
"too-many-lines", # C0302 - Some modules need to be large
"too-many-nested-blocks", # R1702 - Complex logic sometimes needed
"logging-fstring-interpolation", # W1203 - f-strings in logging are readable
"redefined-outer-name", # W0621 - Common in function parameters
"no-else-continue", # R1724 - Sometimes else-continue is clearer
"attribute-defined-outside-init" # W0201 - Sometimes needed for complex initialization
]
[tool.pylint.format]
max-line-length = 120
[tool.pylint.design]
# Allow more arguments and attributes for complex classes
max-args = 10
max-attributes = 15
[dependency-groups]
dev = [
"pylint>=3.3.7",
"pyright>=1.1.402",
"pytest>=8.4.1",
"pytest-mock>=3.14.1",
"ruff>=0.12.1",
]