- Add pytest-asyncio for handling async tests - Update test_llm.py with proper async test decorators - Add more assertions to LLM test
49 lines
961 B
TOML
49 lines
961 B
TOML
[project]
|
|
name = "agent_task_executor"
|
|
version = "0.1.0"
|
|
description = "A flexible task execution framework that uses LLMs"
|
|
authors = [
|
|
{ name = "Your Name", email = "your.email@example.com" }
|
|
]
|
|
dependencies = [
|
|
"httpx>=0.24.1",
|
|
"tenacity>=8.2.2",
|
|
"pyyaml>=6.0.1",
|
|
"cryptography>=41.0.3",
|
|
"python-dotenv>=1.0.0",
|
|
]
|
|
requires-python = ">=3.8"
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.4.0",
|
|
"pytest-asyncio>=0.21.0",
|
|
"black>=23.7.0",
|
|
"isort>=5.12.0",
|
|
"mypy>=1.4.1",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["."]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
addopts = "-v"
|
|
asyncio_mode = "strict"
|
|
asyncio_default_fixture_loop_scope = "function"
|
|
|
|
[tool.black]
|
|
line-length = 100
|
|
target-version = ["py38"]
|
|
include = '\.pyi?$'
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
line_length = 100
|
|
multi_line_output = 3
|