pyproject.toml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. [build-system]
  2. requires = ["hatchling>=1.17.0"]
  3. build-backend = "hatchling.build"
  4. [project]
  5. name = "opencode-ai"
  6. version = "0.1.0"
  7. description = "Python client for the Opencode API (generated via openapi-python-client)"
  8. readme = "README.md"
  9. requires-python = ">=3.8"
  10. license = {text = "MIT"}
  11. authors = [
  12. { name = "Opencode Authors", email = "[email protected]" }
  13. ]
  14. dependencies = [
  15. "httpx>=0.27.0",
  16. "pydantic>=2.0.0",
  17. "python-dateutil>=2.8.2"
  18. ]
  19. [project.urls]
  20. Homepage = "https://opencode.ai"
  21. Repository = "https://github.com/sst/opencode"
  22. [tool.uv]
  23. # Development-time dependencies installed with `uv sync --dev`
  24. dev-dependencies = [
  25. "openapi-python-client",
  26. "black",
  27. "isort",
  28. "ruff",
  29. "pytest",
  30. "pytest-asyncio",
  31. "sseclient-py",
  32. "build",
  33. "twine",
  34. "mkdocs",
  35. "mkdocs-material",
  36. ]
  37. [tool.black]
  38. line-length = 120
  39. target-version = ["py38", "py39", "py310", "py311", "py312"]
  40. [tool.isort]
  41. profile = "black"
  42. line_length = 120
  43. [tool.ruff]
  44. line-length = 120
  45. select = ["E", "F", "I", "UP"]
  46. ignore = []
  47. [tool.pytest.ini_options]
  48. addopts = "-q"
  49. pythonpath = ["src"]