[project] name = "agent-project" version = "0.1.0" description = "Formation Agents IA — Projet fil rouge LangGraph + MCP" requires-python = ">=3.11" dependencies = [ "langgraph>=0.2.0", "langchain-core>=0.3.0", "langchain-openai>=0.2.0", "fastapi>=0.115.0", "uvicorn[standard]>=0.32.0", "pydantic>=2.9.0", "python-dotenv>=1.0.0", "redis>=5.0.0", ] [project.optional-dependencies] dev = [ "pytest>=8.0.0", "pytest-asyncio>=0.24.0", "mypy>=1.11.0", "ruff>=0.6.0", "pre-commit>=3.8.0", ] [tool.ruff] line-length = 100 target-version = "py311" select = ["E", "F", "I", "N", "W", "UP", "ANN"] ignore = ["ANN101", "ANN102"] [tool.ruff.format] quote-style = "double" [tool.mypy] python_version = "3.11" strict = true ignore_missing_imports = true plugins = ["pydantic.mypy"] [tool.pytest.ini_options] asyncio_mode = "auto" testpaths = ["tests"] markers = [ "unit: tests unitaires (rapides, sans dépendances externes)", "integration: tests d'intégration (nécessitent Ollama + services)", ] [tool.coverage.run] source = ["src"] omit = ["tests/*", "**/__init__.py"]