pyproject.toml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. ]
  22. [project.optional-dependencies]
  23. dev = ["mypy>=1.11.1", "ruff>=0.6.1"]
  24. [build-system]
  25. requires = ["setuptools>=73.0.0", "wheel"]
  26. build-backend = "setuptools.build_meta"
  27. [tool.ruff]
  28. lint.select = [
  29. "E", # pycodestyle
  30. "F", # pyflakes
  31. "I", # isort
  32. "D", # pydocstyle
  33. "D401", # First line should be in imperative mood
  34. "T201",
  35. "UP",
  36. ]
  37. lint.ignore = [
  38. "UP006",
  39. "UP007",
  40. # We actually do want to import from typing_extensions
  41. "UP035",
  42. # Relax the convention by _not_ requiring documentation for every function parameter.
  43. "D417",
  44. "E501",
  45. ]
  46. [tool.ruff.lint.per-file-ignores]
  47. "tests/*" = ["D", "UP"]
  48. [tool.ruff.lint.pydocstyle]
  49. convention = "google"
  50. [dependency-groups]
  51. dev = [
  52. "langgraph-cli[inmem]>=0.1.71",
  53. "pytest>=8.3.5",
  54. ]