Files

49 lines
1.1 KiB
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",
"podman>=5.7.0",
"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-env>=1.5.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)",
]
# Environment variables for tests
env = [
"ANTHROPIC_API_KEY=test-key-12345",
"MODEL=claude-test-model",
"MAX_TOKENS=100",
"SAFEDIR=./test-workspace",
"USE_SANDBOX=false",
]