pyproject.toml 984 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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.27.1",
  10. "python-dotenv==1.2.2",
  11. ]
  12. [project.scripts]
  13. lw-mcp-server = "src.main:main"
  14. [tool.hatch.build.targets.wheel]
  15. packages = ["src"]
  16. [build-system]
  17. requires = ["hatchling"]
  18. build-backend = "hatchling.build"
  19. [dependency-groups]
  20. dev = [
  21. "pytest==9.0.3",
  22. "pytest-cov==7.1.0",
  23. ]
  24. [tool.pytest.ini_options]
  25. addopts = "--cov=src --cov-report=term-missing --cov-report=html"
  26. testpaths = ["tests"]
  27. pythonpath = ["."]
  28. markers = [
  29. "integration: tests live necessitant .env et RUN_INTEGRATION_TESTS=1",
  30. ]
  31. [tool.coverage.run]
  32. branch = true # Tracks whether both True and False paths of "if" statements are tested
  33. [tool.coverage.report]
  34. exclude_lines = [
  35. "pragma: no cover",
  36. "def __repr__",
  37. "if __name__ == .__main__.:",
  38. "raise NotImplementedError"
  39. ]