-
Notifications
You must be signed in to change notification settings - Fork 353
/
Copy pathpyproject.toml
74 lines (67 loc) · 1.63 KB
/
pyproject.toml
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
[project]
name = "marvin"
version = "3.0.0"
description = ""
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"pydantic-settings>=2.6.1",
"pydantic[email]>=2.10.2",
"pydantic-ai>=0.0.20",
"aiosqlite>=0.20.0",
"sqlalchemy[asyncio]>=2.0.36",
"jinja2>=3.1.4",
"rich>=13.9.4",
"typer>=0.15.1",
]
[project.optional-dependencies]
test = [
"pre-commit",
"pytest-xdist>=3.6.1",
"pytest>=8.3.3",
"pytest-asyncio>=0.23.5",
"ruff",
"pytest-timeout>=2.3.1",
"pytest-env>=1.1.5",
"pytest-rerunfailures>=15.0",
"chromadb>=0.6.0",
"dirty-equals>=0.9.0",
]
dev = ["marvin[test]", "copychat>=0.5.2", "ipython>=8.12.3", "pdbpp>=0.10.3"]
# Add this section for CLI entry point
[project.scripts]
marvin = "marvin.cli.main:app"
# pytest configuration
[tool.pytest.ini_options]
addopts = "--verbose --color=yes"
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "session"
timeout = 60
testpaths = ["tests"]
norecursedirs = [
"*.egg-info",
".git",
".mypy_cache",
".pytest_cache",
".ruff_cache",
".vscode",
"node_modules",
]
env = [
"MARVIN_TEST_MODE=1",
'D:MARVIN_AGENT_MODEL=openai:gpt-4o-mini',
'D:MARVIN_AGENT_TEMPERATURE=0.0',
'D:MARVIN_AGENT_RETRIES=3',
'D:MARVIN_MEMORY_PROVIDER=chroma-ephemeral',
'D:MARVIN_LOG_LEVEL=DEBUG',
'D:MARVIN_ENABLE_DEFAULT_PRINT_HANDLER=0',
]
[tool.hatch.version]
source = "vcs"
[tool.ruff.lint]
extend-select = ["I"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "I001", "RUF013"]
[build-system]
requires = ["hatchling>=1.21.0", "hatch-vcs>=0.4.0"]
build-backend = "hatchling.build"