pyproject.toml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. [project]
  2. name = "deepcast"
  3. version = "0.0.1"
  4. description = "Automated podcast generation agent with deep research capabilities, powered by HelloAgents."
  5. authors = [
  6. { name = "JJason" }
  7. ]
  8. readme = "README.md"
  9. license = { text = "MIT" }
  10. requires-python = ">=3.10"
  11. dependencies = [
  12. "fastapi>=0.115.0",
  13. "hello-agents>=0.2.8",
  14. "tavily-python>=0.5.0",
  15. "python-dotenv==1.0.1",
  16. "requests>=2.31.0",
  17. "openai>=1.12.0",
  18. "uvicorn[standard]>=0.32.0",
  19. "ddgs>=9.6.1",
  20. "loguru>=0.7.3",
  21. "huggingface-hub>=1.3.3",
  22. "pydub>=0.25.1",
  23. "google-search-results>=2.4.2",
  24. ]
  25. [project.optional-dependencies]
  26. dev = ["mypy>=1.11.1", "ruff>=0.6.1"]
  27. [build-system]
  28. requires = ["setuptools>=73.0.0", "wheel"]
  29. build-backend = "setuptools.build_meta"
  30. [tool.setuptools]
  31. packages = ["src"]
  32. [tool.setuptools.package-data]
  33. "*" = ["py.typed"]
  34. [tool.ruff]
  35. lint.select = [
  36. "E", # pycodestyle
  37. "F", # pyflakes
  38. "I", # isort
  39. "UP", # pyupgrade
  40. "D", # pydocstyle
  41. "T20", # flake8-print
  42. ]
  43. lint.ignore = [
  44. "D100", # Missing docstring in public module
  45. "D101", # Missing docstring in public class
  46. "D102", # Missing docstring in public method
  47. "D103", # Missing docstring in public function
  48. "D104", # Missing docstring in public package
  49. "D105", # Missing docstring in magic method
  50. "D106", # Missing docstring in public nested class
  51. "D107", # Missing docstring in __init__
  52. "D400", # 中文 docstring 句号检测误报
  53. "D415", # 中文 docstring 句号检测误报
  54. "D212", # 多行 docstring 首行格式
  55. "E501", # 行过长
  56. ]
  57. [tool.ruff.lint.per-file-ignores]
  58. "tests/*" = ["D", "UP"]
  59. "scripts/*" = ["T201"]
  60. "backend/scripts/test_agent_workflow.py" = ["E402"]
  61. [tool.ruff.lint.pydocstyle]
  62. convention = "google"
  63. [dependency-groups]
  64. dev = [
  65. "ruff>=0.12.7",
  66. ]