pyproject.toml 853 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. [project]
  2. name = "lw-mcp-server"
  3. version = "0.1.0"
  4. description = "MCP server for Livinweb Engine REST tools"
  5. readme = "README.md"
  6. requires-python = ">=3.13"
  7. dependencies = [
  8. "httpx>=0.28.1",
  9. "mcp[cli]>=1.2.7",
  10. "python-dotenv>=1.2.2",
  11. ]
  12. [project.scripts]
  13. lw-mcp-server = "src.main:main"
  14. [dependency-groups]
  15. dev = [
  16. "pytest>=8.0",
  17. "pytest-cov>=7.1.0",
  18. ]
  19. [tool.pytest.ini_options]
  20. addopts = "--cov=src --cov-report=term-missing --cov-report=html"
  21. testpaths = ["tests"]
  22. pythonpath = ["."]
  23. markers = [
  24. "integration: tests live necessitant .env et RUN_INTEGRATION_TESTS=1",
  25. ]
  26. [tool.coverage.run]
  27. branch = true # Tracks whether both True and False paths of "if" statements are tested
  28. [tool.coverage.report]
  29. exclude_lines = [
  30. "pragma: no cover",
  31. "def __repr__",
  32. "if __name__ == .__main__.:",
  33. "raise NotImplementedError"
  34. ]