39 lines
868 B
TOML
39 lines
868 B
TOML
[project]
|
|
name = "mycode"
|
|
version = "0.1.0"
|
|
description = "Add your description here"
|
|
readme = "README.md"
|
|
requires-python = ">=3.14"
|
|
dependencies = [
|
|
"anthropic>=0.79.0",
|
|
"microsandbox>=0.1.8",
|
|
"pydantic>=2.12.5",
|
|
"pydantic-settings>=2.12.0",
|
|
"python-dotenv>=1.2.1",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=9.0.2",
|
|
"pytest-asyncio>=1.3.0",
|
|
"pytest-mock>=3.15.1",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto" # detect async automatically
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
python_functions = ["test_*"]
|
|
|
|
addopts = [
|
|
"-v", # verbose
|
|
"--tb=short", # shorter tracebacks
|
|
"--strict-markers", # Error on unknown markers
|
|
]
|
|
|
|
# Define custom markers
|
|
markers = [
|
|
"integration: marks tests as integration tests (require external services)",
|
|
"unit: marks tests as unit tests (no external dependencies)",
|
|
]
|