This repository was archived by the owner on Jun 14, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
246 lines (220 loc) · 6.57 KB
/
Copy pathpyproject.toml
File metadata and controls
246 lines (220 loc) · 6.57 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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "aurora-actr"
version = "0.18.0"
description = "AURORA: Adaptive Unified Reasoning and Orchestration Architecture with MCP Integration"
readme = "README.md"
requires-python = ">=3.12"
license = "MIT"
authors = [
{name = "AURORA Team", email = "aurora@example.com"}
]
keywords = ["aurora", "actr", "cognitive-architecture", "semantic-search", "mcp", "reasoning", "soar"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
# All packages bundled - ~5MB total
dependencies = [
# Core dependencies
"pydantic>=2.0.0",
"jsonschema>=4.17.0",
# CLI dependencies
"click>=8.1.0",
"rich>=13.0.0",
"python-frontmatter>=1.0.0",
"jinja2>=3.1.0",
"python-slugify>=8.0.0",
"questionary>=2.0.0",
"pyyaml>=6.0.0",
# Context/code analysis dependencies
"tree-sitter>=0.20.0",
"tree-sitter-python>=0.20.0",
"tree-sitter-javascript>=0.20.0",
"tree-sitter-typescript>=0.20.0",
"tree-sitter-go>=0.20.0",
"tree-sitter-java>=0.20.0",
"numpy>=1.24.0",
# Reasoning dependencies
"anthropic>=0.18.0",
"openai>=1.0.0",
"ollama>=0.1.0",
"tenacity>=8.2.0",
# MCP integration
"fastmcp>=0.1.0",
# LSP integration (bundled)
"multilspy>=0.0.15",
"nest-asyncio>=1.5.0",
# ML/Embeddings (required for semantic search)
"sentence-transformers>=2.2.0",
]
[project.urls]
Homepage = "https://github.com/hamr0/aurora"
Documentation = "https://github.com/hamr0/aurora/blob/main/README.md"
Repository = "https://github.com/hamr0/aurora"
Issues = "https://github.com/hamr0/aurora/issues"
Changelog = "https://github.com/hamr0/aurora/blob/main/CHANGELOG.md"
[project.scripts]
aur = "aurora_cli.main:cli"
aurora = "aurora_cli.main:cli"
aurora-mcp = "aurora_mcp.server:main"
[project.optional-dependencies]
# Dev: Testing and development tools (contributors only)
dev = [
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"pytest-asyncio>=0.21.0",
"pytest-benchmark>=4.0.0",
"ruff>=0.1.0",
"mypy>=1.5.0",
"types-jsonschema>=4.0.0",
"bandit>=1.7.5",
"memory-profiler>=0.61.0",
]
# Tool configurations
[tool.ruff]
target-version = "py312"
line-length = 100
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
]
ignore = [
"E501", # line too long
"E721", # type comparison
"E722", # bare except
"ARG001", # unused function argument
"ARG002", # unused method argument
"B007", # unused loop variable
"B017", # assertRaises
"B023", # function uses loop variable
"B024", # abstract base class
"B904", # raise from
"ERA001", # commented code
"PERF203", # try-except in loop
"PERF401", # list comprehension
"PERF402", # list comprehension for set
"PLC0415", # import at top
"PLR0911", # too many return statements
"PLR0912", # too many branches
"PLR0915", # too many statements
"PLW0602", # global variable not assigned
"PLW0603", # global statement
"PLW2901", # loop variable overwritten
"PTH110", # exists
"PTH118", # joinpath
"PTH123", # open
"SIM102", # collapsible if
"SIM105", # use contextlib.suppress
"SIM108", # use ternary
"SIM117", # multiple with
"UP035", # deprecated import
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "E402"] # unused imports and module-level imports
"**/tests/**/*.py" = [
"S101", # assert statements in tests
"PLC0415", # import at top-level (tests often import in fixtures/functions)
"F841", # unused local variable (tests often assign for verification)
"ARG001", # unused function argument (fixtures may not use all args)
"ARG002", # unused method argument (test mocks)
"PLR0913", # too many arguments (test functions with many fixtures)
"PLR0915", # too many statements (complex test scenarios)
]
"packages/cli/**/*.py" = [
"PLC0415", # import at top-level (CLI uses lazy imports for performance)
"PLR0915", # too many statements (CLI command functions are complex)
]
[tool.mypy]
python_version = "3.12"
strict = true
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_any_generics = true
check_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
follow_imports = "normal"
namespace_packages = true
explicit_package_bases = true
[[tool.mypy.overrides]]
module = "tree_sitter.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "torch"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "sentence_transformers"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "aurora_context_code.semantic.embedding_provider"
warn_unused_ignores = false
[tool.pytest.ini_options]
minversion = "7.0"
testpaths = ["packages", "src"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"-ra",
"--strict-markers",
"--strict-config",
"--cov=packages",
"--cov-report=term-missing:skip-covered",
"--cov-report=html",
"--cov-report=xml",
"--cov-fail-under=84",
]
markers = [
"unit: Unit tests",
"integration: Integration tests",
"performance: Performance benchmark tests",
"slow: Slow running tests",
"ml: Tests requiring ML dependencies (torch, sentence-transformers)",
]
[tool.coverage.run]
source = ["packages"]
omit = [
"*/tests/*",
"*/test_*.py",
"*/__pycache__/*",
"*/site-packages/*",
]
[tool.coverage.report]
precision = 2
skip_empty = true
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"@abstractmethod",
"@abc.abstractmethod",
]
[tool.bandit]
exclude_dirs = ["tests", "venv"]
skips = ["B101"] # assert_used in tests is ok
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
aurora_cli = ["defaults.json", "templates/*.md", "templates/*.txt", "scripts/*.py", "scripts/*.json"]
aurora_reasoning = ["prompts/*.py"]