/
githubmirror
/
llm_agents
Обзор
Документация
Войти
/
githubmirror
/
llm_agents
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
pyproject.toml
89 строк
2 KB
llbbl
feat: Set up comprehensive Python testing infrastructure with Poetry
15 июн 2025, 20:41
15 июн 2025, 20:41
422c463
Код
Авторство
О чём код?
[tool.poetry] name = "llm-agents" version = "0.1.0" description = "A package for building agents which use the OpenAI API to figure out actions to take and can use tools." authors = ["Marc Päpper <marc@paepper.com>"] readme = "README.md" homepage = "https://github.com/mpaepper/llm_agents" repository = "https://github.com/mpaepper/llm_agents" license = "MIT" packages = [{include = "llm_agents"}] classifiers = [ "Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License" ] [tool.poetry.dependencies] python = "^3.8" openai = ">=0.27.0" pydantic = ">=1.10.5" requests = ">=2.28.2" google-api-python-client = ">=2.83.0" google-search-results = ">=2.4.2" beautifulsoup4 = "^4.12.0" [tool.poetry.group.dev.dependencies] pytest = "^7.4.0" pytest-cov = "^4.1.0" pytest-mock = "^3.11.1" [tool.poetry.scripts] test = "run_tests:main" tests = "run_tests:main" [tool.pytest.ini_options] minversion = "7.0" testpaths = ["tests"] python_files = ["test_*.py", "*_test.py", "tests.py"] python_classes = ["Test*", "*Tests"] python_functions = ["test_*"] addopts = [ "-ra", "--strict-markers", "--cov=llm_agents", "--cov-branch", "--cov-report=term-missing", "--cov-report=html", "--cov-report=xml", "--cov-fail-under=80", ] markers = [ "unit: Unit tests", "integration: Integration tests", "slow: Tests that take a long time to run", ] [tool.coverage.run] source = ["llm_agents"] branch = true omit = [ "*/tests/*", "*/__init__.py", "*/setup.py", ] [tool.coverage.report] precision = 2 show_missing = true skip_covered = false fail_under = 80 exclude_lines = [ "pragma: no cover", "def __repr__", "def __str__", "raise AssertionError", "raise NotImplementedError", "if __name__ == .__main__.:", "if TYPE_CHECKING:", "if typing.TYPE_CHECKING:", ] [tool.coverage.html] directory = "htmlcov" [tool.coverage.xml] output = "coverage.xml" [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api"