pyproject.toml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. [project]
  2. name = "agent"
  3. version = "0.0.1"
  4. description = "Backend for the LangGraph agent"
  5. authors = [
  6. { name = "Philipp Schmid", email = "schmidphilipp1995@gmail.com" },
  7. ]
  8. readme = "README.md"
  9. license = { text = "MIT" }
  10. requires-python = ">=3.11,<4.0"
  11. dependencies = [
  12. "langgraph>=0.2.6",
  13. "langchain>=0.3.19",
  14. "langchain-google-genai",
  15. "python-dotenv>=1.0.1",
  16. "langgraph-sdk>=0.1.57",
  17. "langgraph-cli",
  18. "langgraph-api",
  19. "fastapi",
  20. "google-genai",
  21. "langchain-google-vertexai"
  22. ]
  23. [project.optional-dependencies]
  24. dev = ["mypy>=1.11.1", "ruff>=0.6.1"]
  25. [build-system]
  26. requires = ["setuptools>=73.0.0", "wheel"]
  27. build-backend = "setuptools.build_meta"
  28. [tool.ruff]
  29. lint.select = [
  30. "E", # pycodestyle
  31. "F", # pyflakes
  32. "I", # isort
  33. "D", # pydocstyle
  34. "D401", # First line should be in imperative mood
  35. "T201",
  36. "UP",
  37. ]
  38. lint.ignore = [
  39. "UP006",
  40. "UP007",
  41. # We actually do want to import from typing_extensions
  42. "UP035",
  43. # Relax the convention by _not_ requiring documentation for every function parameter.
  44. "D417",
  45. "E501",
  46. ]
  47. [tool.ruff.lint.per-file-ignores]
  48. "tests/*" = ["D", "UP"]
  49. [tool.ruff.lint.pydocstyle]
  50. convention = "google"
  51. [dependency-groups]
  52. dev = [
  53. "langgraph-cli[inmem]>=0.1.71",
  54. "pytest>=8.3.5",
  55. ]